Posix Thread Lock