We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b19780 commit e44cf85Copy full SHA for e44cf85
src/async_utils/_simple_lock.py
@@ -22,8 +22,7 @@
22
# TODO: pick what public namespace to re-export this from.
23
24
# This is one of the few things that should unreservedly be reimplemented natively.
25
-# Atomic ops allow the design here to be lockfree.
26
-# Actually using a futex here might improve performance further, though I doubt it.
+# Atomic ops allow the removal of the internal locking.
27
28
# We can also do a little bit better prior to making it native by only locking
29
# if we observe multiple threads. The gain for this is minor, but not insignificant.
0 commit comments