Re: [Hecl-devel] DONT_WAIT flag bug
Brought to you by:
davidw
From: David W. <dav...@gm...> - 2008-04-05 16:15:36
|
> + if ((flags & DONT_WAIT) != 0) { > + maxblocktime = 1000; Oops, this was an earlier version - this is 0, of course > + } else { and here maxblocktime is set to 1000 > + synchronized(this) { > + if(timers.size() > 0) { > + t = (HeclTask)timers.elementAt(0); > + maxblocktime = t.getGeneration() - now; > + } I now have a test in the test suite, but I think there's still an issue of selecting the maxblocktime if there are multiple events being entered one after the other... I'll see if I can create another script. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ |