add Cond support

Cond implements a condition variable, a rendezvous point for coroutines waiting
for or announcing the occurrence of an event.