Support xcb_discard_reply
authorPeter Harris <pharris@opentext.com>
Tue, 9 Feb 2010 21:27:22 +0000 (16:27 -0500)
committerPeter Harris <pharris@opentext.com>
Thu, 11 Feb 2010 19:35:37 +0000 (14:35 -0500)
commit367882fa32489ebafcd9afc04fbf732b02ceb33a
tree340fdb779ae2ace85efc24a1b0cbe3b0f92d871a
parentbe7e528eae62ddee14fa50f2c0e9036bafbc9f81
Support xcb_discard_reply

This function is useful for dynamic language garbage collectors. Frequently
a GC cycle may run before you want to block wainting for a reply.

This function is also marginally useful for libxcb apps that issue
speculative requests (eg. xlsclients).

Reviewed-by: Jamey Sharp <jamey@minilop.net>
Tested-by: Eamon Walsh <efw@eamonwalsh.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
src/xcb.h
src/xcb_in.c