You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
bd13a5f1ae
- refactoring verndor patches. gather into one file and let to work without
re-autoconf.
- remove variant thread_hooks. this feature for only rubycocoa(rb-rubycocoa)
and rubycocoa requires ruby-1.8.7.
- remove a patch ignore-gsetcontext.diff. 1.8.6-p420 allows to disable
get/setcontext() via configure option.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@83478 d073be05-634f-4543-b044-5fe20cf6d1d6
19 lines
470 B
Diff
19 lines
470 B
Diff
--- lib/drb/drb.rb.orig 2009-02-16 22:22:09.000000000 +0900
|
|
+++ lib/drb/drb.rb 2010-12-31 17:41:41.000000000 +0900
|
|
@@ -1416,8 +1416,14 @@
|
|
grp.add(Thread.current)
|
|
list = @grp.list
|
|
while list.size > 0
|
|
+ list = list.map do |th|
|
|
+ th.kill if th.alive?
|
|
+ end.compact
|
|
list.each do |th|
|
|
- th.kill if th.alive?
|
|
+ begin
|
|
+ th.join
|
|
+ rescue Exception
|
|
+ end
|
|
end
|
|
list = @grp.list
|
|
end
|