summaryrefslogtreecommitdiff
path: root/src/xcbint.h
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-10-04 12:23:45 -0700
committerJamey Sharp <jamey@minilop.net>2006-10-04 14:52:49 -0700
commit57b0cd8fea498a32ff2322583c7278d5e86aa4e8 (patch)
treeb6dc61ff7ecf3925a2d314ca0e91a23383ca818a /src/xcbint.h
parente7f473afbd02c87cc6b1fc9c7c240d6c5cc26763 (diff)
Factor out pthread_mutex_lock and unlock calls for the iolock.
Diffstat (limited to 'src/xcbint.h')
-rw-r--r--src/xcbint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xcbint.h b/src/xcbint.h
index 1a71696..1dc6f93 100644
--- a/src/xcbint.h
+++ b/src/xcbint.h
@@ -159,6 +159,8 @@ struct xcb_connection_t {
};
void _xcb_conn_shutdown(xcb_connection_t *c);
+void _xcb_lock_io(xcb_connection_t *c);
+void _xcb_unlock_io(xcb_connection_t *c);
int _xcb_conn_wait(xcb_connection_t *c, pthread_cond_t *cond, struct iovec **vector, int *count);