bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi-threaded output


From: Steven Seeger
Subject: Multi-threaded output
Date: Mon, 25 Oct 2004 15:49:54 -0700
User-agent: Microsoft-Entourage/11.0.0.040405

I am writing a multi-threaded ncurses program. The user can type in some
text fields in one window while a timed thread updated values in another
window. Sometimes the user's input corrupts the screen, however.

I notice that if I draw something and then call abort() the program quits
without updating the screen. This tells me that the output is not
synchronous. All curses calls lock a mutex via a macro which I have
confirmed works correctly. Are there any known issues with multi-threaded
ncurses?

I did notice that only the calling thread can use getch().

Steve





reply via email to

[Prev in Thread] Current Thread [Next in Thread]