|
From: | Mike |
Subject: | Re: endwin() doesn't work in pthread cleanup function |
Date: | Fri, 22 Sep 2006 09:42:30 +0800 |
User-agent: | Thunderbird 1.5.0.2 (X11/20060501) |
Thanks for your quick response. Does it means that I couldn't use ncurses API in threads? Thomas Dickey wrote:
On Thu, 21 Sep 2006, Mike wrote:The following piece of code can't reset the shell after it terminates. Once endwin is moved to main(), it works.That's unsurprising, since ncurses isn't threadsafe.
[Prev in Thread] | Current Thread | [Next in Thread] |