On 21-Oct-07, at 10:35 PM, Adam Atlas wrote:

>
>
> On 21 Oct 2007, at 12:53, bubblboy wrote:
>> (for example: make a thread, start it, wait a number of seconds  
>> and if
>> it's not done kill it).
>
> I've had that thought before, but is it actually possible to kill a
> thread from the outside? I have yet to find a way to do that.

You don't need to. It is not very difficult to support timeout in the  
current template implementation.

class Handle:
     ...
     def h(self, item):
         # add check point here
         return getattr(self, 'h_' + item[WHAT])(item)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to