Skip to main content

rb_thread_alone

Function rb_thread_alone 

Source
pub unsafe extern "C" fn rb_thread_alone() -> c_int
Expand description

Checks if the thread this function is running is the only thread that is currently alive.

@retval 1 Yes it is. @retval 0 No it isn’t.

@internal

§Above description is in fact inaccurate. There are Ractors these days.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.3.8