ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Async-Interrupt/Interrupt.pm
(Generate patch)

Comparing Async-Interrupt/Interrupt.pm (file contents):
Revision 1.35 by root, Thu Jan 18 16:43:35 2018 UTC vs.
Revision 1.36 by root, Tue Apr 17 19:21:28 2018 UTC

236 # the next line forces initialisation of internal 236 # the next line forces initialisation of internal
237 # signal handling variables, otherwise, PL_sig_pending 237 # signal handling variables, otherwise, PL_sig_pending
238 # etc. might be null pointers. 238 # etc. might be null pointers.
239 $SIG{KILL} = sub { }; 239 $SIG{KILL} = sub { };
240 240
241 our $VERSION = 1.22; 241 our $VERSION = 1.23;
242 242
243 require XSLoader; 243 require XSLoader;
244 XSLoader::load ("Async::Interrupt", $VERSION); 244 XSLoader::load ("Async::Interrupt", $VERSION);
245} 245}
246 246
615 615
616An example call would look like: 616An example call would look like:
617 617
618 c_func (c_arg); 618 c_func (c_arg);
619 619
620=item $epipe->renew 620=item $epipe->post_fork
621 621
622Recreates the pipe (useful after a fork). The reading side will not change 622Recreates the pipe (usually required in the child after a fork). The
623it's file descriptor number, but the writing side might. 623reading side will not change it's file descriptor number, but the writing
624side might.
624 625
625=item $epipe->wait 626=item $epipe->wait
626 627
627This method blocks the process until there are events on the pipe. This is 628This method blocks the process until there are events on the pipe. This is
628not a very event-based or ncie way of usign an event pipe, but it can be 629not a very event-based or ncie way of usign an event pipe, but it can be

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines