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

Comparing Linux-AIO/AIO.xs (file contents):
Revision 1.8 by root, Thu Aug 16 02:43:46 2001 UTC vs.
Revision 1.9 by root, Thu Aug 16 18:58:34 2001 UTC

167 167
168static int 168static int
169aio_proc(void *thr_arg) 169aio_proc(void *thr_arg)
170{ 170{
171 aio_thread *thr = thr_arg; 171 aio_thread *thr = thr_arg;
172 int sig; 172 aio_req req;
173 int errno; 173 int errno;
174 aio_req req;
175 174
176 sigprocmask (SIG_SETMASK, &fullsigset, 0); 175 sigprocmask (SIG_SETMASK, &fullsigset, 0);
177 176
178 /* we rely on gcc's ability to create closures. */ 177 /* we rely on gcc's ability to create closures. */
179 _syscall3(int,lseek,int,fd,off_t,offset,int,whence); 178 _syscall3(int,lseek,int,fd,off_t,offset,int,whence);
217MODULE = Linux::AIO PACKAGE = Linux::AIO 216MODULE = Linux::AIO PACKAGE = Linux::AIO
218 217
219BOOT: 218BOOT:
220{ 219{
221 sigfillset (&fullsigset); 220 sigfillset (&fullsigset);
221 sigdelset (&fullsigset, SIGTERM);
222 sigdelset (&fullsigset, SIGQUIT);
223 sigdelset (&fullsigset, SIGABRT);
224 sigdelset (&fullsigset, SIGINT);
222 225
223 if (pipe (reqpipe) || pipe (respipe)) 226 if (pipe (reqpipe) || pipe (respipe))
224 croak ("unable to initialize request or result pipe"); 227 croak ("unable to initialize request or result pipe");
225 228
226 if (fcntl (respipe[0], F_SETFL, O_NONBLOCK)) 229 if (fcntl (respipe[0], F_SETFL, O_NONBLOCK))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines