[Top][All Lists]

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

Re: threads

From: G Hasse
Subject: Re: threads
Date: Thu, 7 Mar 2002 06:33:55 +0000 (GMT)

On Wed, 6 Mar 2002, Tom Carroll wrote:

> Hello,
>   I do not know if this is the best place to ask this question, but I
> have been able to locate a satisfactory answer.
> The question boils down to the following:
> Does a screen permit concurrent updates, i.e. does the output routines
> use some sort of synchronization similar to locking stdio found on many
> platforms?

No problem at all - and you don't realy need locking. Do a
callback that is triggerd if there is data on a file descriptor. The
file discriptor could be a socket. In this way you can have many "input"
to your user interface. If you want I can send you an example.


> Thanks
> -Tom
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

reply via email to

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