Add missing doxygen for pthread funs and structs
pthread: fix spinlock