[Xcb] a question about request and reply
Barton C Massey
bart at cs.pdx.edu
Tue Dec 13 09:53:44 PST 2005
Yes, the reply is currently queued until you force the
cookie, so you'll leak memory. Nothing worse. :-)
It seems to me pretty straightforward to add
XCBDiscardCookie(GenericCookie) to the interface.
Non-blocking, and if called before the reply is delivered
simply sets a bit saying the reply should be discarded when
it arrives. Is this something we need/want?
Bart
In message <Pine.LNX.4.51.0512131707010.12996 at cartan.iecn.u-nancy.fr> you wrote:
>
> hey,
>
> I'm just wondering if I HAVE to ask for a reply when i have got a cookie.
> Is there a possible memory leak, or something worse, if I don't call the
> reply fonction ?
>
> Vincent
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
More information about the Xcb
mailing list