Method of integrating X Window Intrinsics based toolkits and widgets with JAVA
Abstract
A method of integrating an Xt Intrinsics based toolkit with a JAVA application. The application includes a process thread that implements an X event loop and an application thread that suspends execution of the event loop to allow a call to be made through the JAVA Native Interface to a toolkit or a widget to cause something to be displayed. The application thread includes a write socket to communicate a token to a read socket of the event loop, and performs a blocking read suspending the thread. The event loop returns an acknowledgment token via a write socket to a read socket of the thread that unblocks its blocking read and the event loop invokes its own blocking read suspending its execution. The file descriptor function, XtAppAddInput, preferably, is used to read the token and to set the blocking read. After a toolkit call is made, a token is sent from a second write socket of the thread to a second read socket of the event loop that unblocks its blocking read resuming the event loop. JAVA multithreading support services, such as JAVA's wait and notifyAll methods, are employed in multithreaded applications to ensure that only one thread at a time can make a call. Use of a
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for integrating an x window visualization toolkit with a JAVA application, the system comprising a computer program stored on a computer readable storage medium that when executed by a processor causes the processor to generate a JAVA application comprising: a JAVA application thread that includes a call to an X Window visualization toolkit; a JAVA process thread that comprises an X Window X event loop; at least one context object configured to synchronize the X Window X event loop with the JAVA application to prevent concurrency related data corruption when a call to the X Window vis
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (1)
- Kin Blas, Radha Kulkarni, Srinivas Lingutla, and Erik van der Poel, "Using X in Mozilla's Multi Threaded Environment," Nov. 1998, 8 pages.