threads::posix - more POSIX correct threads
version 0.003
use threads::posix; my $thread = thread::posix->create(sub { ... }); $thread->kill(SIGALRM);
This module extends threads to provide behaviors that are more conformant to what POSIX prescribes. You should realize that this doesn't in any way change the threads themselves, just how you intereract with them. Everything not described here should work exactly the same as in threads.pm.
If this module is used with the -global option it will monkey-patch threads.pm.
Send a signal to a thread. Unlike what threads.pm does, this is a real OS level signal that will interact with various syscalls the way you expect them to, not a poke into the deferred signal handling system.
Leon Timmermans <leont@cpan.org>
This software is copyright (c) 2012 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install threads::posix, copy and paste the appropriate command in to your terminal.
cpanm
cpanm threads::posix
CPAN shell
perl -MCPAN -e shell install threads::posix
For more information on module installation, please visit the detailed CPAN module installation guide.