Commit 7b9b0781146dde69378d53bafd3c8817fb8909e9

Con Kolivas 2011-07-12T19:19:00

Change get_work to use a timeout when trying to tq_pop as a sanity failsafe in case of unusual circumstances.