Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Only"? You need locks in exactly the same scenarios as you do when you use multiple threads.


Good 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: