In perl.git, the branch smoke-me/tonyc/thread-deliver has been created

<http://perl5.git.perl.org/perl.git/commitdiff/235154b18e8ad93bae576b4ccb28b8e9a81040ab?hp=0000000000000000000000000000000000000000>

        at  235154b18e8ad93bae576b4ccb28b8e9a81040ab (commit)

- Log -----------------------------------------------------------------
commit 235154b18e8ad93bae576b4ccb28b8e9a81040ab
Author: Tony Cook <t...@develop-help.com>
Date:   Tue Jul 1 16:39:46 2014 +1000

    use syncronization instead of sleep for syncing child and main threads

M       t/op/magic_threads.t

commit 1fdb94a93d09558f08101d9aef54f7ef819dfdf5
Author: Tony Cook <t...@develop-help.com>
Date:   Tue Jul 1 10:36:23 2014 +1000

    fix a test ordering bug

M       t/op/magic_threads.t

commit 6b9871088acc6d5ac49317d134a43304cafcd9ef
Author: Tony Cook <t...@develop-help.com>
Date:   Tue Jun 24 11:30:59 2014 +1000

    [perl #81074] signals to the main thread if the child doesn't request them
    
    Also fixes [perl #120951] so that signal handlers called outside of a
    perl thread are marked via the safe signals mechanism to be delivered
    to the main thread.
    
    These changes fix the following circumstances:
    
    - the operating system delivers a signal sent to a process to a child
      thread instead of the main thread when only the main thread has a
      signal handler set.  Linux preferably sends signals to the main
      thread, but can send them to a child thread instead if the
      main thread is busy.  Previously perl would attempt to deliver the
      signal to the child, now it delivers the signal to the main thread
      unless the child has set a handler. [perl #81074]
    
    - a signal is received in the context of a child thread created outside
      of perl itself (eg. by Gtk).  Previously perl would crash.
      [perl #120951]

M       MANIFEST
M       embedvar.h
M       ext/XS-APItest/APItest.xs
M       intrpvar.h
M       makedef.pl
M       mg.c
M       perl.c
M       sv.c
A       t/op/magic_threads.t
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to