http://bugs.grommit.com/show_bug.cgi?id=437





------- Comment #4 from richlowe at richlowe.net  2008-06-14 21:35 PDT -------
The change noted in comment #3 closes this race a great deal, but it is still
present.

In testing just now, it is failing about one run in 600 on this machine.

The best thing I can think of to do is to sleep until the (time_t) clock next
ticks.

Something similar to.

t = time.time()
time.sleep(1 - (t - int(t)) + 0.2)


-- 
Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to