Python thread

From wikinotes

The oldest threading interface for python.

import thread

thread.start_new_thread(func, ('argA',), {'kwargA': 1})

lock = thread.allocate_lock()
lock.acquire()
lock.release()