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

Is the read() call running a task in the background? In that case, that's equivalent to launching two threads. For n queues, you'd need n tasks, and they'd hang in the background in case they never get a result and take up memory.


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

Search: