Added cond_wait() and cond_timedwait() to lockable class. Work (thatll break stuff) on main loop. Compiles.