Add synchronized() method around all wait()/notify() calls => pthreads 2.x compatibility
Merge pull request #56 from wagnert/master

Add synchronized() method around all wait()/notify() calls => pthreads 2...