Python thread Functions

EditRocket provides the following information on thread functions in the Python source code builder.

allocate_lock() - Return a new lock object.

exit() - Raise the SystemExit exception.

get_ident() - Return the `thread identifier' of the current thread.

interrupt_main() - Raise a KeyboardInterrupt exception in the main thread.

stack_size([size]) - Return the thread stack size used when creating new threads.

start_new_thread(function, args[, kwargs]) - Start a new thread and return its identifier.