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

ruby-changes:69648

From: Yusuke <ko1@a...>
Date: Tue, 9 Nov 2021 03:39:14 +0900 (JST)
Subject: [ruby-changes:69648] aa5bccfc65 (master): NEWS.md: Mention Process._fork [[Feature #17795]]

https://git.ruby-lang.org/ruby.git/commit/?id=aa5bccfc65

From aa5bccfc65cf47a10d72cefa4bc2ee097f135b4c Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Tue, 9 Nov 2021 03:38:42 +0900
Subject: NEWS.md: Mention Process._fork [[Feature #17795]]

---
 NEWS.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/NEWS.md b/NEWS.md
index a1c10bef57d..80dbc4dff40 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -156,6 +156,14 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L156
       modify the ancestor chain if the receiver has already prepended
       the argument. [[Bug #17423]]
 
+* Process
+
+    * Process.\_fork is added. This is a core method for fork(2).
+      Do not call this method directly; it is called by existing
+      fork methods: Kernel.#fork, Process.fork, and popen("=").
+      Application monitoring libraries can overwride this method to
+      hook fork event. [[Feature #17795]]
+
 * Struct
 
     * Passing only keyword arguments to Struct#initialize is warned.
-- 
cgit v1.2.1


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

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