XSynchronize(3X) — X Version 11
NAME
XSynchronize, XSetAfterFunction − enable or diable synchronization
SYNTAX
int (∗XSynchronize(display, onoff))()
Display ∗display;
int onoff;
int (∗XSetAfterFunction(display, proc))()
Display ∗display;
int (∗proc)();
ARGUMENTS
displaySpecifies the connection to the X server.
procSpecifies the function to be called after an Xlib function that generates a protocol request completes its work.
onoffSpecifies whether to enable or disable synchronization. Possible values you can pass are 0 (disable synchronization) or nonzero (enable synchronization).
DESCRIPTION
The XSynchronize function enables or disables synchronization.
After completing their work, all Xlib functions that generate protocol requests call what is known as a previous after function. XSetAfterFunction sets which function is to be called.
SEE ALSO
XSetErrorHandler(3X)
Xlib − C Language X Interface
1 March 1988