Cross-platform time out decorator
joel.schaerer at gmail.com
Thu Sep 27 15:31:22 CEST 2007
On Sep 26, 12:21 pm, Joel <joel.schae... at gmail.com> wrote:
> I've been using this nice timing out decorator :http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/307871. The
> problem is that since it relies on sigalarm, it doesn't work under
> windows. Would anyone know how to do a cross-platform version?
> Thanks a lot!
I found the solution : http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440569
describes a solution based on threads. I tested it and it works
More information about the Python-list