Update pthread.hpp

added class pspinlock - posix spin lock