event-pthread Demo Thread1: infra::thread::Event e; sleep(60); e.Signal(); ... e.Reset(); ... Thread2: e.Wait()/TimedWait(500);