[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua hits OSDI 2010
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 6 Oct 2010 16:51:09 -0300
> > Are there other, better alternatives to limit the CPU time?
> Under Unix, you can call setrlimit(), or ulimit from the command line, to
> limit not only CPU, but memory resources as well.
These will kill the process when the time runs out, won't they?
That's not suitable for a program that embeds Lua and wants to limit
CPU time or memory used by Lua programs.