Re: what does --sync do?
- From: Andreas Kostyrka <andreas kostyrka org>
- To: Peter Jay Salzman <p dirac org>
- Cc: gtk-list gnome org
- Subject: Re: what does --sync do?
- Date: Mon, 16 Feb 2004 09:07:40 +0100
On Sun, Feb 15, 2004 at 10:31:14AM -0800, Peter Jay Salzman wrote:
> i've read:
> 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
> 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.
] [Thread Prev