Define your signalling threads so they signal the correct condition
variable.
If you can give more useful background about what you're trying to
accomplish, we can perhaps suggest better ways to do it.
--
Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5" / 37N 20' 15.3"
Internet: steve @ Watt.COM Whois: SW32-ARIN
Free time? There's no such thing. It just comes in varying prices...
No, nothing like WaitForMultipleObjects() or whatever it is on Windows.
This is not just LynxOS limitation, but POSIX. Same thing under any
other Unix-like OS (unless they did something non-standard).