Add XCBGetQueuedRequestRead for Xlib that does no syscalls, just returns whatever XCB already knows about.

This commit is contained in:
Jamey Sharp 2006-02-23 17:50:53 -08:00
parent 26ac6292ba
commit 6e29e5f2ee
2 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,11 @@
#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;

View File

@ -31,6 +31,9 @@
#include <pthread.h>
#include "xcb.h"
/* This function must be called with the IOLock held. */
unsigned int XCBGetQueuedRequestRead(XCBConnection *c);
/* This function must be called with the IOLock held. */
unsigned int XCBGetRequestSent(XCBConnection *c);