limiting subroutine run time

[prev] [thread] [next] [Date index for 2005/05/11]

From: Igor Chudov
Subject: limiting subroutine run time
Date: 04:43 on 11 May 2005
I am working on a system on algebra.com where anyone
could define a math solver for a particular kind of
problem. It could be defined either via a custom
markup language (not interesting), or as a perl
script.

These user submitted perl scripts will be executed
inside Safe.pm compartment. I hope that they will be
secure enough.

My question is, is there some way to limit execution
time of a subroutine? I would not want those scripts
to run for more than a second CPU time.

i

- Igor



		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

limiting subroutine run time
Igor Chudov 04:43 on 11 May 2005

Re: limiting subroutine run time
Enno 11:42 on 11 May 2005

Re: limiting subroutine run time
Perrin Harkins 14:48 on 11 May 2005

Re: limiting subroutine run time
Igor Chudov 14:57 on 11 May 2005

Re: limiting subroutine run time
Perrin Harkins 15:04 on 11 May 2005

Re: limiting subroutine run time
Igor Chudov 17:58 on 11 May 2005

Re: limiting subroutine run time
Stas Bekman 18:09 on 11 May 2005

Re: limiting subroutine run time
Stas Bekman 17:24 on 11 May 2005

Re: limiting subroutine run time
Igor Chudov 18:01 on 11 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52