⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 synchronization.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: Enabling or Disabling Synchronization</TITLE></HEAD><BODY><H1 ALIGN=center>11.8.1 Enabling or Disabling Synchronization</H1>When debugging X applications, it often is very convenient to require Xlib to behave synchronouslyso that errors are reported as they occur.The following function lets you disable or enable synchronous behavior.Note that graphics may occur 30 or more times more slowly when synchronization is enabled.<!.IN "_Xdebug">On POSIX-conformant systems,there is also a global variable <B>_Xdebug</B>that, if set to nonzero before starting a program under a debugger, will forcesynchronous library behavior.<P>After completing their work,all Xlib functions that generate protocol requests call what is known asan after function.<B><A HREF="XSetAfterFunction.html">XSetAfterFunction()</A></B>sets which function is to be called.<P>To enable or disable synchronization, use <B><A HREF="XSynchronize.html">XSynchronize()</A></B>.<H5 ALIGN=right><I>Next: <A HREF="default-handlers.html">Using the Default Error Handlers</A></I></H5><HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -