HelenOS sources

root/uspace/lib/posix/src/pthread/

[..]
condvar.c keys.c mutex.c threads.c
[..]
HelenOS homepage, sources at GitHub