X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbext.h;h=4e1f2f73d03d6703bcaea39e96364cb4da2265ff;hb=5648ddd2b97068f549268284129a438a6845e14c;hp=d6366cbba2e2e014ffbe68bb263ff762068485fd;hpb=8ecd754b168a0352783bf1ba0f0887f7ff479ee8;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbext.h b/src/xcbext.h index d6366cb..4e1f2f7 100644 --- a/src/xcbext.h +++ b/src/xcbext.h @@ -66,6 +66,7 @@ unsigned int xcb_send_request(xcb_connection_t *c, int flags, struct iovec *vect * callback which XCB can call when it wants the write side of the * socket back to make a request. This callback synchronizes with the * external socket owner and flushes any output queues if appropriate. + * The callback might be called from different threads at the same time. * If you are sending requests which won't cause a reply, please note the * comment for xcb_writev which explains some sequence number wrap issues. * */ @@ -93,6 +94,7 @@ int xcb_poll_for_reply(xcb_connection_t *c, unsigned int request, void **reply, /* xcb_util.c */ int xcb_popcount(uint32_t mask); +int xcb_sumof(uint8_t *list, int len); #ifdef __cplusplus }