summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-23 15:44:19 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-23 15:44:19 +0000
commit8687db60a65082a2e76650e918279a2048337e5a (patch)
tree6c38d03c12a95aa1aa2a7545b091fe5d750b32a5 /process.c
parentf991d20910f0241319edf96a5dc6f2e38b93374f (diff)
* process.c (rb_f_fork): remove after_exec() which sometimes caused
two timer threads started. [ruby-core:25217] * signal.c: use pthread_sigmask() instead of sigprocmask(). sigprocmask() is unspecified behavior on multi-thread programs. [ruby-core:25217] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/process.c b/process.c
index e566e9b753..4f68d690fb 100644
--- a/process.c
+++ b/process.c
@@ -2620,9 +2620,6 @@ rb_f_fork(VALUE obj)
switch (pid = rb_fork(0, 0, 0, Qnil)) {
case 0:
-#ifdef linux
- after_exec();
-#endif
rb_thread_atfork();
if (rb_block_given_p()) {
int status;