← index #5858Issue #5828
Duplicate · high · value 2.555
QUERY · ISSUE

extmod/uasyncio Please provide CPython's synchronisation primitives

openby peterhinchopened 2020-04-02updated 2023-07-16
extmod

CPython provides Queue, Semaphore, BoundedSemaphore and Condition in addition to the provided Lock and Event classes.

In the case of Queue the issue was raised in https://github.com/micropython/micropython/issues/5828.

CANDIDATE · ISSUE

extmod/uasyncio: Queue is missing

openby tveopened 2020-03-28updated 2020-03-30

The new uasyncio doesn't have a Queue class (unless I'm getting blind?). That seems like a pretty core sync primitive. Should this be added or should that go into a separate library? There's also Condition, Semaphone and more... Where should such a library go or what is the plan?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied