X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbxlib.h;h=00c76fcd88b135b51627e29b5e58eadb9dcb7c74;hb=c73ff37b907c8af6d03ab69cca27bc837c1cc189;hp=4ceb03e60238901fdf7bda55498a958cc20369d5;hpb=6f369fde3c676e2b1a67bd71923b61942991d726;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbxlib.h b/src/xcbxlib.h index 4ceb03e..00c76fc 100644 --- a/src/xcbxlib.h +++ b/src/xcbxlib.h @@ -31,12 +31,11 @@ #include #include "xcb.h" -/* This function must be called with the IOLock held. */ -unsigned int XCBGetQueuedRequestRead(XCBConnection *c) deprecated; +/* The caller of this function must hold the xlib lock, using the lock + * functions below. */ +unsigned int xcb_get_request_sent(xcb_connection_t *c); -/* This function must be called with the IOLock held. */ -unsigned int XCBGetRequestSent(XCBConnection *c); - -pthread_mutex_t *XCBGetIOLock(XCBConnection *c); +void xcb_xlib_lock(xcb_connection_t *c); +void xcb_xlib_unlock(xcb_connection_t *c); #endif