in reply to Re^2: Weird Output with Threads and NCurses
in thread Weird Output with Threads and NCurses

Not using threads at all is certainly one of the options. The code that you have looks fine to me. There could wind up with the need for a worker thread to do something and that is fine as long as it is not talking directly to the gui. Glad to hear that you understand the issue now.
  • Comment on Re^3: Weird Output with Threads and NCurses