[前][次][番号順一覧][スレッド一覧]

ruby-changes:52010

From: normal <ko1@a...>
Date: Wed, 8 Aug 2018 16:26:21 +0900 (JST)
Subject: [ruby-changes:52010] normal:r64225 (trunk): mjit.c: remove old comment about WNOHANG and SIGCHLD [ci skip]

normal	2018-08-08 16:26:14 +0900 (Wed, 08 Aug 2018)

  New Revision: 64225

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64225

  Log:
    mjit.c: remove old comment about WNOHANG and SIGCHLD [ci skip]
    
    [Bug #14867] implemented exactly what was needed (for POSIX
    platforms, at least).

  Modified files:
    trunk/mjit.c
Index: mjit.c
===================================================================
--- mjit.c	(revision 64224)
+++ mjit.c	(revision 64225)
@@ -62,12 +62,7 @@ https://github.com/ruby/ruby/blob/trunk/mjit.c#L62
       | MRI machine code  |<-----------------------------
       |___________________|             loading
 
-
-   We don't use SIGCHLD signal and WNOHANG waitpid in MJIT as it
-   might mess with ruby code dealing with signals.  Also as SIGCHLD
-   signal can be delivered to non-main thread, the stack might have a
-   constraint.  So the correct version of code based on SIGCHLD and
-   WNOHANG waitpid would be very complicated.  */
+*/
 
 #ifdef __sun
 #define __EXTENSIONS__ 1

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]