bug-ncurses
[Top][All Lists]
Advanced

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

Re: One more thread question


From: Thomas Dickey
Subject: Re: One more thread question
Date: Wed, 27 Oct 2004 17:13:12 -0400 (EDT)

On Wed, 27 Oct 2004, Steven Seeger wrote:

> No there is no data. The problem isn't with wgetch() but actually with
> select on stdin. If I'm in a pthread, select will wait properly. If I hit
> one character select just starts returning all the time (with a 0, oddly
> enough) even though I read the character. It must have something to do with
> the controlling terminal or something.

>From what I know of threads, that should be ok - select() doesn't have
any static data hidden away to confuse it.  halfdelay() would be
implemented with either poll() or select(), as well.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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