… | |
… | |
1179 | PROTOTYPES: ENABLE |
1179 | PROTOTYPES: ENABLE |
1180 | |
1180 | |
1181 | BOOT: |
1181 | BOOT: |
1182 | { |
1182 | { |
1183 | HV *stash = gv_stashpv ("IO::AIO", 1); |
1183 | HV *stash = gv_stashpv ("IO::AIO", 1); |
|
|
1184 | |
1184 | newCONSTSUB (stash, "EXDEV", newSViv (EXDEV)); |
1185 | newCONSTSUB (stash, "EXDEV", newSViv (EXDEV)); |
1185 | newCONSTSUB (stash, "O_RDONLY", newSViv (O_RDONLY)); |
1186 | newCONSTSUB (stash, "O_RDONLY", newSViv (O_RDONLY)); |
1186 | newCONSTSUB (stash, "O_WRONLY", newSViv (O_WRONLY)); |
1187 | newCONSTSUB (stash, "O_WRONLY", newSViv (O_WRONLY)); |
1187 | newCONSTSUB (stash, "O_CREAT", newSViv (O_CREAT)); |
1188 | newCONSTSUB (stash, "O_CREAT", newSViv (O_CREAT)); |
1188 | newCONSTSUB (stash, "O_TRUNC", newSViv (O_TRUNC)); |
1189 | newCONSTSUB (stash, "O_TRUNC", newSViv (O_TRUNC)); |
|
|
1190 | newCONSTSUB (stash, "S_IFIFO", newSViv (S_IFIFO)); |
1189 | |
1191 | |
1190 | create_pipe (); |
1192 | create_pipe (); |
1191 | pthread_atfork (atfork_prepare, atfork_parent, atfork_child); |
1193 | pthread_atfork (atfork_prepare, atfork_parent, atfork_child); |
1192 | |
1194 | |
1193 | start_thread (); |
1195 | start_thread (); |