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

There are many ways to do multiple threads wrong. Seems that the "right way" is to wake up a sleeping but already-created thread, and take elements out of a work queue in a threadsafe way. Your main thread can even be processing elements during the 10000 clock cycles it takes to wake up a thread.


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

Search: