in reply to Semaphores failing to prevent race condition
My understanding is, there is only thread-safe or not thread-safe, and since Curses doesn't go so far as to mention thread safety, its safe to assume it isn't thread-safe.
Thread safety isn't that important, if you stick to the rule of thumb to only require the unsafe modules you need in child threads.
The other rule of thumb is to only have one thread doing GUI stuff, and have all the other threads signal it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Semaphores failing to prevent race condition
by ikegami (Patriarch) on Mar 13, 2011 at 06:07 UTC | |
by Anonymous Monk on Jun 01, 2011 at 18:18 UTC | |
by ikegami (Patriarch) on Jun 01, 2011 at 18:37 UTC | |
by BrowserUk (Patriarch) on Jun 01, 2011 at 20:00 UTC |