add a sleep 0 when starting a worker thread.  This forces the thread to yield back to the queueing thread before processing any jobs.  In practice, this should only impact the tests, but will make them much more reliable, specially when testing things like cleanup and at_exit.
add a sleep 0 when starting a worker thread.  This forces the thread to yield back to the queueing thread before processing any jobs.  In practice, this should only impact the tests, but will make them much more reliable, specially when testing things like cleanup and at_exit.

expectedbehavior/pirate_metrics_agent