Use pthread_cond_{wait,signal}() instead of nanosleep() in the worker thread
commit4e4206d617088d4db2c852d5c4039a45f02ff394
authorTimo Hirvonen <tihirvon@gmail.com>
Sat, 28 Jul 2007 14:53:27 +0000 (28 17:53 +0300)
committerTimo Hirvonen <tihirvon@gmail.com>
Sat, 28 Jul 2007 14:53:27 +0000 (28 17:53 +0300)
tree607c0947b6b445e28e01dcc070e1a359ab0e184e
parent8a132dbb275359c1782ad9ce0d2ac8d56bdd0e58
Use pthread_cond_{wait,signal}() instead of nanosleep() in the worker thread

This reduces unnecessary wake-ups somewhat.
worker.c