search for: add_thread

Displaying 2 results from an estimated 2 matches for "add_thread".

Did you mean: add_head
2006 Nov 01
0
fatal flaw in popen4 on windows? [WAS] Re: Nonblocking IO read (fwd)
...; %w( replace pid= << push update ).each do |msg| > break(pid.send(msg, c)) if pid.respond_to? msg > end > > # > # this is the critical bit!!! > # > > te = ThreadEnsemble.new c > > te.add_thread(i, stdin) do |i, stdin| > relay stdin, i, stdin_timeout > i.close rescue nil > end > > te.add_thread(o, stdout) do |o, stdout| > relay o, stdout, stdout_timeout > end > >...
2007 Dec 25
6
error: no marshal_dump is defined for class Thread
I get this error periodically in backgroundrb.log, but only on my production box (the one running ruby 1.8.5) - my dev box doesn''t get this error. As far as I can tell, everything is working ok, despite the error (I don''t really know how to determine if the jobs are getting threaded successfully, but they are running, that I am sure of). Here''s the dump: no