ionelmc / python-redis-lock

Lock context manager implemented via redis SET NX EX and BLPOP.
https://pypi.python.org/pypi/python-redis-lock
BSD 2-Clause "Simplified" License
550 stars 78 forks source link

References to "spinloop" in the documentation #52

Closed todofixthis closed 7 years ago

todofixthis commented 8 years ago

In https://python-redis-lock.readthedocs.io/en/latest/readme.html#similar-projects there are several references to "spinloop", but I cannot for the life of me find any resources that define this term.

Is there a more widely-used term that can be substituted for "spinloop"?

ionelmc commented 8 years ago

Is this good enough? https://en.wikipedia.org/wiki/Busy_waiting - googling for "spin loop" has that for 1st result ...

Or are you asking for some link in docs?

todofixthis commented 8 years ago

Ah. I searched for "spinloop" (1 word), and didn't get nearly as useful results.

Thanks for the link; after doing a bit of reading, it seems to me like this term actually would be well-understood by someone who is used to working with asynchronous code.