Remove some unesesery depends (pthreads)
State Changed From-To: open->closed I committed a variation on your idea. You need some threading library. So let's use native one instead of linux threads.