Public Member Functions | |
def | __init__(self) |
def | release(self) |
def | wait(self) |
Classes |
Monitor class for thread synchronization.
def __init__ | ( | self | ) |
Create a new monitor instance.
def release | ( | self | ) |
Release a thread that is waiting on the monitor.
def wait | ( | self | ) |
Wait for the monitor to be released by another thread.