Thread necromancy to help others if they come across this...

The semaphore and some other dirty hacks before the semaphore worked just 
fine. I was working on another issue with scheduler and was digging through 
the code and found that by passing in processmethod as method.sequential 
(have to from tgscheduler.kronos import method) it forces the task to only 
run sequentially. Since I wanted to prevent the task from firing before it 
had time to finish this was a more elegant solution.

To be clear the original question about "other tasks" correct answer was a 
semaphore but for the specific need of making sure the task only runs one at 
a time this was a good solution.

PK

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/rmYs2SGZchEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to