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

You're absolutely right - the naive implementation has a logical flaw where the queue would always remain empty since tasks are only added when the queue is non-empty, creating a catch-22 situation where the queue can never grow.


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

Search: