Enter to send·Shift+Enter new line
Semaphore()
threading.Semaphore
Block until the semaphore can be acquired, but don't acquire it.
Semaphore subclass with a wait() method.