bug-ncurses
[Top][All Lists]
Advanced

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

Re: Fwd: Screen sharing between multiple processes


From: Thomas Dickey
Subject: Re: Fwd: Screen sharing between multiple processes
Date: Tue, 4 Oct 2005 20:46:33 -0400 (EDT)

On Mon, 3 Oct 2005, Gasler Radu wrote:

What happens if two different processes write at the same time to the
same screen, although they are affecting idependent windows ?

It's still the same screen, and all of the windows share the global
variables stdscr, curscr.  So it won't work.

What if the two processes would syncronize and wait one eachother to
finish the screen writing jobs ?

Assuming that - but also note that wgetch() does a wrefresh().
Usually the questions about multithreading arise in the context of
input in one thread and output in multiple threads.

Is the behaviour in these situations documented ?

no, it is "unspecified"

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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