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 .pc.in files for all the new extension libraries. Generate .pc files from the...
[free-sw/xcb/libxcb]
/
src
/
xcb_xlib.c
diff --git
a/src/xcb_xlib.c
b/src/xcb_xlib.c
index
8cc6837
..
09f74a7
100644
(file)
--- a/
src/xcb_xlib.c
+++ b/
src/xcb_xlib.c
@@
-26,13
+26,14
@@
#include "xcbxlib.h"
#include "xcbint.h"
#include "xcbxlib.h"
#include "xcbint.h"
+unsigned int XCBGetQueuedRequestRead(XCBConnection *c)
+{
+ return c->in.request_read;
+}
+
unsigned int XCBGetRequestSent(XCBConnection *c)
{
unsigned int XCBGetRequestSent(XCBConnection *c)
{
- unsigned int ret;
- pthread_mutex_lock(&c->iolock);
- ret = c->out.request;
- pthread_mutex_unlock(&c->iolock);
- return ret;
+ return c->out.request;
}
pthread_mutex_t *XCBGetIOLock(XCBConnection *c)
}
pthread_mutex_t *XCBGetIOLock(XCBConnection *c)