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

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.28 by root, Tue Aug 16 23:33:34 2005 UTC vs.
Revision 1.29 by root, Wed Aug 17 04:47:02 2005 UTC

349 349
3501; 3501;
351 351
352=head2 FORK BEHAVIOUR 352=head2 FORK BEHAVIOUR
353 353
354IO::AIO handles all outstanding AIO requests before the fork, destroys all 354Before the fork IO::AIO first handles all outstanding requests - if other
355AIO threads, and recreates them in both the parent and the child after the 355threads add requests during this period, this time is prolonged. It then
356fork. 356enters a quiescent state where no requests can be added in other threads
357 357and no results will be processed. After the fork the parent simply leaves
358the quiescent state and continues request processing, while the child will
359free the request and result queue and start the same number of threads as
360were in use by the parent.
358 361
359=head1 SEE ALSO 362=head1 SEE ALSO
360 363
361L<Coro>, L<Linux::AIO>. 364L<Coro>, L<Linux::AIO>.
362 365

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines