You may want to have a look at the
Thread::Signal package on CPAN - This module is described as allowing signals to be delivered to specific "threads" on systems that employ separate (pseudo-)processes for each "thread". At this stage, this module only works under Linux on Perl 5.8.0 with thread support.
Not a true solution, but something interesting to consider ... :-)
perl -e 'print+unpack("N",pack("B32","00000000000000000000000111101011")),"\n"'