From: Bryan Richardson Date: 2008-08-09T04:49:29+09:00 Subject: Re: Non-Threaded Timeout? what about starting another thread to monitor my results variable... i still don't fully understand the scope of variables when a thread is started. -- bryan Bryan Richardson wrote: > hi adam, > > i don't test a property because the ole interface is not asynchronous. > my code looks like this - > > do stuff... > result = @sim.RunScriptCommand('SolvePrimalLP()') > do stuff... > > when the ole application hangs i never get to the second 'do stuff...' > > -- > bryan > > Adam Shelly wrote: >> How exactly do you wait for results? Do you test some property? >> Can't you use that test as your loop sentinel? >> `break if !monty.Results.empty?` or something like that... -- Posted via http://www.ruby-forum.com/.