NAME

Signal::Mask - Signal Masks made easy

VERSION

Version 0.001

SYNOPSIS

Signal::Mask is an abstraction around your process's signal mask. It is used to fetch and/or change the signal mask of the calling thread. The signal mask is the set of signals whose delivery is currently blocked for the caller.

 use Signal::Mask;
 
 {
     local $SIG_MASK{INT} = 1;
	 do_something;
 }
 #signal gets postponed until now

EXPORT

This module exports a HASH. By default it's called %SIG_MASK, but it's name can be set on import. Any true value for a hash key will correspond with that signal being masked.

AUTHOR

Leon Timmermans, <leont at cpan.org>

BUGS

Please report any bugs or feature requests to bug-signal-mask at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Signal-Mask. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Signal::Mask

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2010 Leon Timmermans.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.