ez-a-sync 0.32.11__cp39-cp39-musllinux_1_2_i686.whl → 0.32.13__cp39-cp39-musllinux_1_2_i686.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- a_sync/_smart.c +1122 -1133
- a_sync/_smart.cpython-39-i386-linux-gnu.so +0 -0
- a_sync/_smart.pyx +11 -10
- a_sync/asyncio/create_task.c +735 -579
- a_sync/asyncio/create_task.cpython-39-i386-linux-gnu.so +0 -0
- a_sync/asyncio/create_task.pyx +7 -4
- a_sync/debugging.c +3 -2
- a_sync/debugging.cpython-39-i386-linux-gnu.so +0 -0
- a_sync/iter.c +216 -81
- a_sync/iter.cpython-39-i386-linux-gnu.so +0 -0
- a_sync/iter.pxd +2 -0
- a_sync/primitives/locks/event.c +426 -428
- a_sync/primitives/locks/event.cpython-39-i386-linux-gnu.so +0 -0
- a_sync/primitives/locks/event.pyx +3 -1
- a_sync/primitives/locks/prio_semaphore.c +2623 -1503
- a_sync/primitives/locks/prio_semaphore.cpython-39-i386-linux-gnu.so +0 -0
- a_sync/primitives/locks/prio_semaphore.pxd +9 -8
- a_sync/primitives/locks/prio_semaphore.pyx +65 -22
- a_sync/primitives/locks/semaphore.c +1048 -1051
- a_sync/primitives/locks/semaphore.cpython-39-i386-linux-gnu.so +0 -0
- a_sync/primitives/locks/semaphore.pyx +4 -2
- a_sync/task.py +22 -6
- {ez_a_sync-0.32.11.dist-info → ez_a_sync-0.32.13.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.11.dist-info → ez_a_sync-0.32.13.dist-info}/RECORD +27 -27
- {ez_a_sync-0.32.11.dist-info → ez_a_sync-0.32.13.dist-info}/WHEEL +1 -1
- {ez_a_sync-0.32.11.dist-info → ez_a_sync-0.32.13.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.11.dist-info → ez_a_sync-0.32.13.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
@@ -11,6 +11,8 @@ from libc.string cimport strcpy
|
|
|
11
11
|
from libc.time cimport time
|
|
12
12
|
from weakref import ref
|
|
13
13
|
|
|
14
|
+
from cpython.unicode cimport PyUnicode_CompareWithASCIIString
|
|
15
|
+
|
|
14
16
|
from a_sync._typing import *
|
|
15
17
|
from a_sync.primitives._debug cimport _DebugDaemonMixin, _LoopBoundMixin
|
|
16
18
|
|
|
@@ -180,4 +182,4 @@ cdef class CythonEvent(_DebugDaemonMixin):
|
|
|
180
182
|
|
|
181
183
|
|
|
182
184
|
cdef inline bint _is_not_done(fut: Future):
|
|
183
|
-
return
|
|
185
|
+
return PyUnicode_CompareWithASCIIString(fut._state, b"PENDING") == 0
|