Built-in Modules: thread

Built-in thread module is supported with the following functions:

start_new_thread

exit

allocate_lock

get_ident

stack_size
(raises exception)

 

Lock objects support the following methods:

acquire

release

locked

 

The following exception is supported:

error

Built-in thread module is imported by threading.py.

Note: It is strongly recommended to terminate main thread only after all secondary threads are terminated.