Read-lock counts by fiber id, and the write lock's holder and count.
Attributes#
| Attribute | Type | Description |
|---|---|---|
readers | Mapping[int, int] = field(default=_NO_READERS) | |
writer | tuple[int, int] | None = None |
Functions#
__init__#
__init__(readers=_NO_READERS, writer=None) -> None| Parameter | Type | Description |
|---|---|---|
readers | Mapping[int, int] = _NO_READERS | |
writer | tuple[int, int] | None = None |