in reply to Re^7: baton passing threads and cond_signal
in thread baton passing threads and cond_signal
If one thread maintains a persistant lock on the variable, how would the other thread ever obtain a lock? Without obtaining a lock, cond_wait doesn't work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: baton passing threads and cond_signal
by ikegami (Patriarch) on Aug 22, 2007 at 16:34 UTC | |
by Anonymous Monk on Aug 22, 2007 at 16:47 UTC | |
by BrowserUk (Patriarch) on Aug 22, 2007 at 19:00 UTC | |
by ikegami (Patriarch) on Aug 22, 2007 at 19:32 UTC | |
by BrowserUk (Patriarch) on Aug 22, 2007 at 19:46 UTC | |
|