first try; has memory leaks(?)
Update from original pthreads repository
fixed freeing, added a testcase and fixed test complex-statics.phpt which issues an E_NOTICE error
removed senseless waste of code
Merge pull request #42 from bwoebi/master

Implemented what I wanted in #36