[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: endwin() doesn't work in pthread cleanup function
From: |
Thomas Dickey |
Subject: |
Re: endwin() doesn't work in pthread cleanup function |
Date: |
Thu, 21 Sep 2006 06:33:55 -0400 (EDT) |
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.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net