diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-02-23 15:29:40 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-02-23 15:29:40 -0800 |
commit | 26ac6292ba0535ac3747d23f2f4d284c4b5f42ba (patch) | |
tree | 8fa52d5f1fd007af4abfca3d7fa501d227e85920 /src/xcbxlib.h | |
parent | a736674943295245ccb90865c13d2b75dc6ecccb (diff) |
Minor performance fix: Change the contract on XCBGetRequestSent so that it does not waste time re-locking. This is for Xlib, and Xlib has already locked.
Diffstat (limited to 'src/xcbxlib.h')
-rw-r--r-- | src/xcbxlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xcbxlib.h b/src/xcbxlib.h index e9f7140..59dd2a5 100644 --- a/src/xcbxlib.h +++ b/src/xcbxlib.h @@ -31,6 +31,7 @@ #include <pthread.h> #include "xcb.h" +/* This function must be called with the IOLock held. */ unsigned int XCBGetRequestSent(XCBConnection *c); pthread_mutex_t *XCBGetIOLock(XCBConnection *c); |