I\'m having trouble figuring out how to correctly use sync.Cond. From what I can tell, a race condition exists between locking the Locker and invoking the condition\'s Wait meth
Looks like you c.Wait for Broadcast which would never happens with your time intervals. With
time.Sleep(3 * time.Second) //Broadcast after any Wait for it c.Broadcast()
your snippet seems to work http://play.golang.org/p/OE8aP4i6gY .Or am I missing something that you try to achive?