[rt.cpan.org #73747] signal handlers don't work while waiting

[email protected] ("Christopher J. Madsen via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Wed Jan 04 16:54:30 2012: Request 73747 was acted upon.
Transaction: Correspondence added by CJM
       Queue: Win32-IPC
     Subject: signal handlers don't work while waiting
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=73747 >


The behavior I see with Windows XP and Perl 5.14.2 is this: if a signal
handler is active, it's not called until the wait completes (because a
notification happens or it times out).  I'm not clear whether you're
seeing the same thing.

I believe this is because of Perl's deferred signal handling:
http://perldoc.perl.org/perlipc.html#Deferred-Signals-%28Safe-Signals%29

I agree that's probably not the most desirable behavior, but I don't
know how to change it.  I'd welcome a pull request
(https://github.com/madsen/win32-ipc) if you have a solution.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.