Skip to main content

Crate stop_thread

Crate stop_thread 

Source

Functions§

kill_thread_forcibly_exit_code⚠Windows
Forcibly and immediately stops the thread, without any cleanup.
kill_thread_graceful⚠Unix
Only kills the thread if it has enabled cancellation, then performs cleanup. See man pthread_cancel for more information.
suspend_thread⚠Windows
Suspends the thread.