sys.thread

..
Deque

A Deque is a double-ended queue with a pop method that can block until an element is available. It is commonly used to synchronize threads.

Thread

Tls

Creates thread local storage.