[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.
GH
>
> Thanks
>
> -Tom
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>
- threads, Tom Carroll, 2002/03/06
- Re: threads,
G Hasse <=
- Re: threads, Thomas E. Dickey, 2002/03/07