On Sat, May 9, 2009 at 4:44 AM, Lloyd <lloyd@cdactvm.in> wrote:
Hi,
Lets think that we want to embed lua to a windows service (daemon)
like
application. At the service startup, it executes the used given lua
script.
If the user supplies an "infinite useless empty loop" rest of the
service
will never be executed!! Is there any mechanism in lua to stop this
kind of
behavior? I mean, can I exclude loop kind of lua features, by
making some
settings in my lua configuration or someware?
A simple google search yields answers to your question:
http://lmgtfy.com/?q=lua+execution+time+control
Such as:
http://lua-users.org/wiki/NonBlockingLuaExecution
--
-Patrick Donnelly
"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."
- Benjamin Franklin