in reply to Weird Output with Threads and NCurses
I don't use *nix; and the last time I used curses, was very brief & last century; but the idea that it would work correctly being accessed concurrently from multiple threads seems ... very remote.
As with most GUI frameworks that weren't developed specifically to work with threading; if you have to use curses, use it from one thread only and route all console IO from other threads, through that CUI thread via a queue.
Attempting to get anything else to work is a waste of your time; and is very unlikely to receive anything by way of support.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Weird Output with Threads and NCurses
by var121 (Novice) on Jul 17, 2016 at 07:14 UTC | |
by BrowserUk (Patriarch) on Jul 17, 2016 at 08:05 UTC |