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.40 by root, Sat Jun 24 16:27:02 2006 UTC vs.
Revision 1.41 by root, Sat Jun 24 19:14:04 2006 UTC

8#include "autoconf/config.h" 8#include "autoconf/config.h"
9 9
10#include <pthread.h> 10#include <pthread.h>
11 11
12#include <stddef.h> 12#include <stddef.h>
13#include <errno.h>
13#include <sys/types.h> 14#include <sys/types.h>
14#include <sys/stat.h> 15#include <sys/stat.h>
15#include <limits.h> 16#include <limits.h>
16#include <unistd.h> 17#include <unistd.h>
17#include <fcntl.h> 18#include <fcntl.h>
782 783
783PROTOTYPES: ENABLE 784PROTOTYPES: ENABLE
784 785
785BOOT: 786BOOT:
786{ 787{
788 HV *stash = gv_stashpv ("IO::AIO", 1);
789 newCONSTSUB (stash, "EXDEV", newSViv (EXDEV));
790 newCONSTSUB (stash, "O_RDONLY", newSViv (O_RDONLY));
791 newCONSTSUB (stash, "O_WRONLY", newSViv (O_WRONLY));
792
787 create_pipe (); 793 create_pipe ();
788 pthread_atfork (atfork_prepare, atfork_parent, atfork_child); 794 pthread_atfork (atfork_prepare, atfork_parent, atfork_child);
789} 795}
790 796
791void 797void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines