bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses and blocking?


From: Simon Richter
Subject: Re: ncurses and blocking?
Date: Tue, 9 Jul 2002 03:06:43 +0200 (CEST)

Hi,

On Mon, 8 Jul 2002, Thomas Dickey wrote:

[Problem: curses app which should not do any blocking I/O]

> nodelay, etc:

> curs_inopts(3X)                                   curs_inopts(3X)

Hrm, I think my description of the problem was inadequate. I was thinking
of the output side, where the refresh() call could be blocking while
writing to the terminal. I understand that this will only seldom cause
problems, but I'd like my application to continue running even if the user
pressed ^S. The "trivial" solution would be a multithreaded app, but I'd
like to avoid that for portability reasons.

   Simon

-- 
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4




reply via email to

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