diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 01:13:10 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 01:13:10 +0000 |
commit | 300b7c80e4266fd4ed15b503d503f68def64aa67 (patch) | |
tree | 482651e55d4d0c5cafc468f0d2852b0d69f5acb1 /process.c | |
parent | f328b9d0d5a6919fb7d76ac5d344f1b03d388079 (diff) | |
download | ruby-300b7c80e4266fd4ed15b503d503f68def64aa67.tar.gz |
* process.c (rb_daemon): daemon(3) is implemented with fork(2).
Therefore it needs rb_thread_atfork(). (and revert r41903)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5736,6 +5736,7 @@ rb_daemon(int nochdir, int noclose) before_fork(); err = daemon(nochdir, noclose); after_fork(); + rb_thread_atfork(); #else int n; |