nanogui: Support for on-screen keyboard
Subject:
RE: Support for on-screen keyboard
From:
Greg Haerr ####@####.####
Date:
18 May 1999 02:25:03 -0000
Message-Id: <01BEA0A3.1DF261D0.greg@censoft.com>
> 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
>