On 5/14/06, Tim Lesher <[EMAIL PROTECTED]> wrote:
> Using the scheduler for a one-shot, deferred call just seems like the
> long way around to me.

There's no plus to the scheduler if you're just looking to get a task
going in the background now. However, if you want the task to run at
another time, the advantage to the scheduler is that it uses only one
thread no matter how many tasks you've got queued up.

It also has the added bonus that you can change one function parameter
to use a new process instead of a new thread (which can be very
important on a multiprocessor machine).

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to