X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?p=free-sw%2Fxcb%2Flibxcb;a=blobdiff_plain;f=src%2Fxcbint.h;h=7f9ab2838122368f3382961fe182f1f2ab059d15;hp=f9e5a52f7c1ce602aefce37036856e1aaff7a531;hb=9ae84ad187e2ba440c40f44b8eb21c82c2fdbf12;hpb=1b33867fa996034deb50819ae54640be501f8d20 diff --git a/src/xcbint.h b/src/xcbint.h index f9e5a52..7f9ab28 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -79,14 +79,15 @@ void *_xcb_map_remove(_xcb_map *q, unsigned int key); /* xcb_out.c */ +typedef void (*xcb_return_socket_func_t)(void *closure); + typedef struct _xcb_out { pthread_cond_t cond; int writing; - pthread_cond_t socket_cond; - void (*return_socket)(void *closure); + xcb_return_socket_func_t return_socket; void *socket_closure; - int socket_moving; + unsigned int socket_seq; char queue[XCB_QUEUE_BUFFER_SIZE]; int queue_len;