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.235 by root, Thu Jun 25 15:47:01 2015 UTC vs.
Revision 1.238 by root, Thu Jan 21 23:04:46 2016 UTC

704{ 704{
705 while (eio_nreqs ()) 705 while (eio_nreqs ())
706 { 706 {
707 int size; 707 int size;
708 708
709 X_LOCK (reslock); 709 X_LOCK (EIO_POOL->reslock);
710 size = res_queue.size; 710 size = EIO_POOL->res_queue.size;
711 X_UNLOCK (reslock); 711 X_UNLOCK (EIO_POOL->reslock);
712 712
713 if (size) 713 if (size)
714 return; 714 return;
715 715
716 etp_maybe_start_thread (); 716 etp_maybe_start_thread (EIO_POOL);
717 717
718 s_epipe_wait (&respipe); 718 s_epipe_wait (&respipe);
719 } 719 }
720} 720}
721 721
985 const_iv (MAP_SHARED) 985 const_iv (MAP_SHARED)
986 const_iv (MAP_FIXED) 986 const_iv (MAP_FIXED)
987 const_iv (MAP_ANONYMOUS) 987 const_iv (MAP_ANONYMOUS)
988 988
989 /* linuxish */ 989 /* linuxish */
990 const_iv (MAP_HUGETLB)
991 const_iv (MAP_LOCKED) 990 const_iv (MAP_LOCKED)
992 const_iv (MAP_NORESERVE) 991 const_iv (MAP_NORESERVE)
993 const_iv (MAP_POPULATE) 992 const_iv (MAP_POPULATE)
994 const_iv (MAP_NONBLOCK) 993 const_iv (MAP_NONBLOCK)
995 const_iv (MAP_GROWSDOWN) 994 const_iv (MAP_GROWSDOWN)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines