Re: what does --sync do?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 15, 2004 at 10:31:14AM -0800, Peter Jay Salzman wrote:
> i've read:
> 
>    -sync
>    Make X calls synchronous. This slows down the program considerably,
>    but may be useful for debugging purposes.
> 
> i don't understand this.   what does it mean to make X calls
> synchronous?
> 
> i think i remember reading that in order to save "bandwidth", X will
> sometimes cache events.  does --sync force X to send event as they occur
> and not cache them?
Exactly. xlib bei defaults is forced to send all the requests only if a request
returns some data. As long the client program is working only by value-less
functions xlib is free to manage when it sends a request on it's own.

This might be a nice performance hack, but it makes for quite some funny
debugging -> That's why one can make X calls synchronous.

Andreas
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux