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

Exactly like that, but using blocking functions. Then I run the code in a worker pool or in a greenlet runtime. The kernel and runtime take care of putting threads to sleep when they hit blocking IO.


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

Search: