Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XSetErrorHandler(3X11)

XSynchronize(3X11)

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)
Guide to the Xlib Library

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