[Xcb] Interning multiple atoms w/ one function call (alla XInternAtoms)

Carl Worth cworth at cworth.org
Wed Aug 10 05:04:07 EST 2005

On Tue, 09 Aug 2005 10:32:03 -0700, Barton C Massey wrote:
> It should go in somewhere.  If it's a performance
> optimization, it should go in libXCBAtom.  If it just
> effectively calls XInternAtom a bunch of times, it should go
> in libXCBAux.

Isn't XInternAtoms one of the things that is an essential
round-trip-killing lifesaver for Xlib, but would just be a trivial
wrapper for XCB ?

That is, the one-function-call nature of XInternAtoms isn't the
significant bit, but rather its one-round-trip nature. But doesn't
XCB's atom code allow the round-trip latency to be completely hidden
even with lots of individual function calls/requests to intern each

The wrapper would obviously be useful for aiding porting of code of

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20050809/a36d7cf4/attachment.pgp

More information about the xcb mailing list