Looks like linux doesnt implement pthread_suspend and continue, but I really need em.
I have tried cond_wait, but it is too slow. The work being threaded mostly execut
Make the thread wait for a specific signal.
Use pthread_sigmask and sigwait.