module threading¶
Source: stdlib/threading.codon
threading¶Source: stdlib/threading.codon
Lock @tuple Class is named tuple (cannot write fields) ¶p: cobj¶__new__()¶__enter__(self)¶__exit__(self)¶acquire(self, block: bool = True, timeout: float = -1.0)¶release(self)¶RLock @tuple Class is named tuple (cannot write fields) ¶p: cobj¶__new__()¶__enter__(self)¶__exit__(self)¶acquire(self, block: bool = True, timeout: float = -1.0)¶release(self)¶active_count()¶get_native_id()¶get_ident()¶