[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multi-threaded output
From: |
Thomas Dickey |
Subject: |
Re: Multi-threaded output |
Date: |
Mon, 25 Oct 2004 21:01:56 -0400 (EDT) |
On Mon, 25 Oct 2004, Steven Seeger wrote:
> The solution to my problem did lie with a fix around getch, just as you
> suggested. I used select to wait for stdin, and then when a key comes in I
> can then use curses_safe() around wgetch on my front-most window without
> stalling the updating threads, as wgetch returns almost immediately. If I
> tried to use the macro around it before everything would wait for keyboard
> input. I put a 50ms timeout on select in case the front window changes,
> though in the program I'm making this requires a function key press.
>
> Thanks again!
no problem.
--
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 <=
- 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, 2004/10/27