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

Correcting myself: while that's what I think of it conceptually (everything is placed into integer-valued "bins" via the integer parameter taken by sleep()), implementation-wise it's probably equivalent to heapsort or something similar, depending on whether the scheduler stores sleeping threads in a heap or some other data structure.


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

Search: