Add barrier wait timers to Pthreads.