3 ms·
Isn't the distinction that poll/select will only block only the current thread, whereas sleep may block the whole process?
by mikepurvis 10y ago
Isn't the distinction that poll/select will only block only the current thread, whereas sleep may block the whole process?
- to3m 10y agosleep blocks the calling thread: http://pubs.opengroup.org/onlinepubs/009695399/functions/sleep.html http://pubs.opengroup.org/onlinepubs/009695399/functions/sle...