Skip to main content

rseq_unregister_thread

Function rseq_unregister_thread 

Source
pub unsafe fn rseq_unregister_thread()
Expand description

Unregister the current thread from the restartable sequence.

§Panics

Panics if the thread is not registered, or if unsetting the thread RSEQ via syscall fails.

§Safety

Any previously obtained Rseq handles for this thread must not be used after calling this function.