added a return statement after phtread_exit to please the copmiler.
Merge pull request #17 from mpbl/devel

added a return statement after phtread_exit to please the compiler.