return ret;
}
-XCBGenericEvent *XCBWaitEvent(XCBConnection *c)
-{
- return XCBWaitForEvent(c);
-}
-
XCBGenericEvent *XCBWaitForEvent(XCBConnection *c)
{
XCBGenericEvent *ret;
return ret;
}
-unsigned int XCBGetRequestRead(XCBConnection *c)
-{
- unsigned int ret;
- pthread_mutex_lock(&c->iolock);
- /* FIXME: follow X meets Z architecture changes. */
- _xcb_in_read(c);
- ret = c->in.request_read;
- pthread_mutex_unlock(&c->iolock);
- return ret;
-}
-
/* Private interface */
int _xcb_in_init(_xcb_in *in)
#include "xcbxlib.h"
#include "xcbint.h"
-unsigned int XCBGetQueuedRequestRead(XCBConnection *c)
-{
- return c->in.request_read;
-}
-
unsigned int XCBGetRequestSent(XCBConnection *c)
{
return c->out.request;
#include <pthread.h>
#include "xcb.h"
-/* This function must be called with the IOLock held. */
-unsigned int XCBGetQueuedRequestRead(XCBConnection *c) deprecated;
-
/* This function must be called with the IOLock held. */
unsigned int XCBGetRequestSent(XCBConnection *c);