Skip to content

Commit e44cf85

Browse files
committed
better wording for future
1 parent 5b19780 commit e44cf85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/async_utils/_simple_lock.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
# TODO: pick what public namespace to re-export this from.
2323

2424
# 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.
25+
# Atomic ops allow the removal of the internal locking.
2726

2827
# We can also do a little bit better prior to making it native by only locking
2928
# if we observe multiple threads. The gain for this is minor, but not insignificant.

0 commit comments

Comments
 (0)