libxcb/src
Jamey Sharp ee1bc1d28a xcb_send_request: Send all requests using a common internal send_request.
This simplifies the critical section of xcb_send_request and fixes a
couple of subtle bugs:

- It's possible for xcb_send_request to need to issue two sync requests
  before it can issue the real request. Previously, we counted sequence
  numbers as if both were issued, but only one went out on the wire.

- The test for whether to sync at 32-bit sequence number wrap has been
  incorrect since we switched to 64-bit sequence numbers internally.

This change means that if the output queue was already full and the
current request is bigger than the output queue, XCB will do one more
write syscall than it did before. But syncs are rare and small requests
are the norm, so this shouldn't be a measurable difference.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
2010-10-09 12:37:23 -07:00
..
.gitignore Add DRI2 support. (v2) 2009-10-19 09:47:06 -07:00
Makefile.am build: simplify extension building 2009-12-03 11:34:18 +01:00
c-client.xsl Add comment noting the requirement to free replies when finished. 2007-11-16 19:34:42 -05:00
c_client.py Add ~ operator support in code generator 2010-05-14 13:19:28 +02:00
xcb.h windefs.h is now called xcb_windefs.h - changed all includes to reflect that.Replaced one instance ofWIN32 with _WIN32 in each xcb_in.c and xcb_conn.c 2010-03-29 22:31:49 +05:30
xcb_auth.c Merge branch 'master' of git://github.com/topcat/xcb-win32 2010-08-31 18:35:20 -04:00
xcb_conn.c Allow disconnecting connections that are in error state. 2010-09-19 20:38:06 +02:00
xcb_ext.c Rename index to idx to avoid shadowing 2008-08-28 13:49:21 +02:00
xcb_in.c Merge branch 'master' of git://github.com/topcat/xcb-win32 2010-08-31 18:35:20 -04:00
xcb_list.c The Great XCB Renaming 2006-09-23 12:22:22 -07:00
xcb_out.c xcb_send_request: Send all requests using a common internal send_request. 2010-10-09 12:37:23 -07:00
xcb_util.c Allow disconnecting connections that are in error state. 2010-09-19 20:38:06 +02:00
xcb_windefs.h changes in xcb_windefs.h - the flag _XCB_WINDEFS_H replaces WINDEFS_H 2010-03-29 22:37:33 +05:30
xcb_xid.c kludgily hand-merged xid fixes 2009-03-28 14:59:01 +01:00
xcbext.h Support handing off socket write permission to external code. 2008-10-29 15:40:41 -07:00
xcbint.h Allow disconnecting connections that are in error state. 2010-09-19 20:38:06 +02:00