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.63 by root, Mon Oct 23 23:48:31 2006 UTC vs.
Revision 1.64 by root, Mon Oct 23 23:54:41 2006 UTC

207 fd_set rfd; 207 fd_set rfd;
208 208
209 while (nreqs) 209 while (nreqs)
210 { 210 {
211 aio_req req; 211 aio_req req;
212#if !(__x86 || __x86_64) /* safe without sempahore on this archs */
212 pthread_mutex_lock (&reslock); 213 pthread_mutex_lock (&reslock);
214#endif
213 req = ress; 215 req = ress;
216#if !(__x86 || __x86_64) /* safe without sempahore on this archs */
214 pthread_mutex_unlock (&reslock); 217 pthread_mutex_unlock (&reslock);
218#endif
215 219
216 if (req) 220 if (req)
217 return; 221 return;
218 222
219 FD_ZERO(&rfd); 223 FD_ZERO(&rfd);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines