ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.153 by root, Wed Jul 15 01:36:04 2009 UTC vs.
Revision 1.154 by root, Wed Jul 15 01:39:15 2009 UTC

160 160
161static SV *on_next_submit; 161static SV *on_next_submit;
162static int next_pri = EIO_PRI_DEFAULT; 162static int next_pri = EIO_PRI_DEFAULT;
163static int max_outstanding; 163static int max_outstanding;
164 164
165static int respipe_osf [2];
166static s_epipe respipe; 165static s_epipe respipe;
167 166
168static void req_destroy (aio_req req); 167static void req_destroy (aio_req req);
169static void req_cancel (aio_req req); 168static void req_cancel (aio_req req);
170 169
445static void 444static void
446create_respipe (void) 445create_respipe (void)
447{ 446{
448 if (s_epipe_renew (&respipe)) 447 if (s_epipe_renew (&respipe))
449 croak ("unable to initialize result pipe"); 448 croak ("unable to initialize result pipe");
450
451 respipe_osf [0] = S_TO_SOCKET (respipe.fd [0]);
452 respipe_osf [1] = S_TO_SOCKET (respipe.fd [1]);
453} 449}
454 450
455static void poll_wait (void) 451static void poll_wait (void)
456{ 452{
457 while (eio_nreqs ()) 453 while (eio_nreqs ())

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines