[Top][All Lists]
[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
- Multi-threaded output, Steven Seeger, 2004/10/25
- Re: Multi-threaded output, Thomas Dickey, 2004/10/25
- Re: Multi-threaded output, Steven Seeger, 2004/10/25
- Re: Multi-threaded output, Thomas Dickey, 2004/10/25
- Re: Multi-threaded output, Steven Seeger, 2004/10/25
- Re: Multi-threaded output, Thomas Dickey, 2004/10/25
- One more thread question, Steven Seeger, 2004/10/26
- Re: One more thread question, Thomas Dickey, 2004/10/27
- Re: One more thread question, Steven Seeger, 2004/10/27
- Re: One more thread question,
Thomas Dickey <=