Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XSetErrorHandler(3X11)

XSynchronize(3X11)  —  MIT X11R4

Name

XSynchronize, XSetAfterFunction − enable or disable synchronization

Syntax

int (*XSynchronize(display, onoff))()
   Display *display;
   Bool onoff;

int (*XSetAfterFunction(display, procedure))()
   Display *display;
   int (*procedure)();

Arguments

displaySpecifies the connection to the X server. 

procedureSpecifies the function to be called after an Xlib function that generates a protocol request completes its work. 

onoffSpecifies a Boolean value that indicates whether to enable or disable synchronization. 

Description

The XSynchronize function returns the previous after function. If onoff is True, XSynchronize turns on synchronous behavior. If onoff is False, XSynchronize turns off synchronous behavior.

The specified procedure is called with only a display pointer.  XSetAfterFunction returns the previous after function.

See Also

XSetErrorHandler(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026