Skip to content

os_thread_kill

Declaration

os_thread_kill :: fn (thread: OSThread, exit_code: s32 = 0) bool #inline

Description

Interrupt thread with exit code.

Arguments

  • thread Thread to be interrupted.
  • exit_code Optional exit code.

Result

Return true on success.

Declared in: docs.txt