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.3 by root, Tue Aug 14 04:33:50 2001 UTC vs.
Revision 1.4 by root, Tue Aug 14 14:56:22 2001 UTC

85 _syscall3(int,read,int,fd,char *,buf,off_t,count); 85 _syscall3(int,read,int,fd,char *,buf,off_t,count);
86 _syscall3(int,write,int,fd,char *,buf,off_t,count); 86 _syscall3(int,write,int,fd,char *,buf,off_t,count);
87 87
88 /* first get rid of any signals */ 88 /* first get rid of any signals */
89 for (sig = 1; sig < _NSIG; sig++) 89 for (sig = 1; sig < _NSIG; sig++)
90 if (sig != SIGTERM)
91 signal (sig, SIG_IGN); 90 signal (sig, SIG_IGN);
91
92 signal (SIGTERM, SIG_DFL);
92 93
93 /* then loop */ 94 /* then loop */
94 while (read (reqpipe[0], (void *)&req, sizeof (req)) == sizeof (req)) 95 while (read (reqpipe[0], (void *)&req, sizeof (req)) == sizeof (req))
95 { 96 {
96 req->thread = thr; 97 req->thread = thr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines