I\'m building a multithreaded application with pthreads and need a thread to periodically check some stuff. During the time in between this thread shouldn\'t use an
pthreads