summaryrefslogtreecommitdiff
path: root/lib/shell
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-06 08:50:51 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-06 08:50:51 +0000
commit835f040be29b1a32f93428a6a90de7978b7c2779 ()
tree4bb74be8356cd9e4bc867d6df6337acfc816a01b /lib/shell
parent4cd2a9864c9d215500dacef309c4eacb0db9ce3a (diff)
* lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/shell/process-controller.rb8
1 files changed, 5 insertions, 3 deletions
@@ -246,9 +246,11 @@ class Shell
redo
end
Thread.exclusive do
- terminate_job(command)
- @job_condition.signal
- command.notify "job(%id) finish.", @shell.debug?
end
end
}