[Gridflow-cvs] [svn] commit: r3535 - /trunk/base/main.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Apr 15 21:56:37 EDT 2008


Author: matju
Date: Tue Apr 15 21:56:37 2008
New Revision: 3535

Log:
remove GridFlow.subprocesses and GridFlow.hunt_zombies, which were used by "open gzfile".

Modified:
    trunk/base/main.rb

Modified: trunk/base/main.rb
==============================================================================
--- trunk/base/main.rb (original)
+++ trunk/base/main.rb Tue Apr 15 21:56:37 2008
@@ -44,23 +44,8 @@
 class<<self
 	attr_accessor :data_path
 	attr_reader :fobjects
-	attr_reader :subprocesses
 end
-
- at subprocesses={}
 @data_path=[GridFlow::DIR+"/images"]
-
-def self.hunt_zombies
-	#STDERR.puts "GridFlow.hunt_zombies"
-	# the $$ value is bogus
-	begin
-		died = []
-		subprocesses.each {|x,v| Process.waitpid2(x,Process::WNOHANG) and died << x }
-	rescue Errno::ECHILD
-	end
-	#STDERR.puts died.inspect
-	died.each {|x| subprocesses.delete x }
-end
 
 class ::Object; def FloatOrSymbol(x) Float(x) rescue x.intern end end
 



More information about the Gridflow-cvs mailing list