kopia lustrzana https://github.com/peterhinch/micropython-samples
![]() Increase CPython compatibility by using a boolean value for the state. Compatibility also achieveable by only changing is_set() to "return self.state==1" so it returns a boolean. self.state should never be accessed directly from the outside so could stay an integer. |
||
---|---|---|
.. | ||
__init__.py | ||
barrier.py | ||
condition.py | ||
event.py | ||
lock.py | ||
queue.py | ||
semaphore.py |