hthread is a helper library for detecting synchronization errors in programs that use the pthreads.