nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: RE: Support for on-screen keyboard
From: Greg Haerr
Date: Mon, 17 May 1999 20:23:24 -0600

> If you had two applications fighting, then you'd have the race.  In
> addition, the keyboard application isn't guaranteed that it won't get
> prempted by another process which might take the focus (or run until
> the focus has changed, get its stuff, start to process it, only to
> find that the "old" event went to the wrong place).

	With the linked in version of nanoX's client/server, there can only be
one application, and since nanoX is single-threaded, it can never happen.
However, on the unix-pipe version, running dual processors, (which I do) it's entirely
likely that the two processes will be writing the pipe asynchronously.

There is quite a lot of literature on the business of getting multithreaded objects
to talk to each other in a synchronized fashion.   Let me know if anyone's interested.

Greg

>

nanogui@linuxhacker.org