projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive lock...
[free-sw/xcb/libxcb]
/
src
/
xcbxlib.h
diff --git
a/src/xcbxlib.h
b/src/xcbxlib.h
index
e9f7140
..
da4a044
100644
(file)
--- a/
src/xcbxlib.h
+++ b/
src/xcbxlib.h
@@
-31,8
+31,12
@@
#include <pthread.h>
#include "xcb.h"
#include <pthread.h>
#include "xcb.h"
-unsigned int XCBGetRequestSent(XCBConnection *c);
+/* This function must be called with the IOLock held. */
+unsigned int xcb_get_request_sent(xcb_connection_t *c);
-pthread_mutex_t *XCBGetIOLock(XCBConnection *c);
+pthread_mutex_t *xcb_get_io_lock(xcb_connection_t *c);
+
+void xcb_xlib_lock(xcb_connection_t *c);
+void xcb_xlib_unlock(xcb_connection_t *c);
#endif
#endif