4 ms·
"Only"? You need locks in exactly the same scenarios as you do when you use multiple threads.
by DasIch 10y ago
"Only"? You need locks in exactly the same scenarios as you do when you use multiple threads.
- xapata 10y agoGood point. I should have said that asyncio allows patterns that use fewer shared resources. Actually... I take that back. Asyncio is solving a different problem than the locking of shared resources.