[Newbies] Re: Update Timer?
overcomer.man at gmail.com
Sun May 3 05:21:59 UTC 2015
Sleeping on a problem helped in this case.
Time current minutes < timer minutes + 10
timer := Time current.
I put that in an update method called by methods that change the data. Not
guaranteed every 10 min depending on user behavior but close enough and
easier than defining a process.
On Fri, May 1, 2015 at 10:14 PM, Kirk Fraser <overcomer.man at gmail.com>
> I am building a simple database using a tree and a ReferenceStream as
> learned here. I want it to update the disk file every 10 min. with the
> current tree. What should I do?
> The classes Time, Duration, Stopwatch, Schedule, look like possibilities
> but the only method that looks good is Schedule "between: aStart and: anEnd
> do: aBlock" but I don't want it to hang waiting on the timer so the tree
> can't take my changes. How do I make something perform like a text editor
> that saves its work every 10 min?
> Kirk Fraser
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners