Next Prev Up

14.1 Grabbing the Server

Certain cases may require that a client demand exclusive access to the server, causing the processing for all other clients to be suspended. Such exclusive access is referred to as grabbing the server. CLX provides functions to grab and release exclusive access to the server. These function should be used rarely and always with extreme caution, since they have the potential to disrupt the entire window system for all clients.


grab-server display Function
     
display
A display.

Disables processing of requests and close-downs on all connections other than the one on which this request arrived.


ungrab-server display Function
     
display
A display.

Restarts processing of requests and close-downs on other connections.


with-server-grabbed display &body body Macro
     
display
A display.
body
The forms to execute while the server is grabbed.

Grabs the display server only within the dynamic extent of the body. ungrab-server is automatically called upon exit from the body. This macro provides the most reliable way for CLX clients to grab the server.


Next Prev Up
© 1988, 1989 Texas Instruments Incorporated
Conversion to HTML made by Gilbert Baumann.
Last build: Tue Dec 16 23:30:42 1997