Re: luajit state CPU time limit

  • From: Konstantin Olkhovskiy <lupus@xxxxxxxxxx>
  • To: luajit <luajit@xxxxxxxxxxxxx>
  • Date: Wed, 5 Nov 2014 15:26:44 +0400

2014-11-05 14:02 GMT+03:00 Victor Bombi <sonoro@xxxxxxxxxxxxxx>:

>  May be using luaLanes and lane priorities?
> I have not tested in linux but only on win32
>

I recall reading some rants about pthread priorities somewhere in Lanes
docs.

As of the original thread subject --- doing it at application level would
hardly provide
the required granularity. May be something along RLIMIT_CPU and handling a
SIGXCPU signal might do the trick for you.

-- 
Regards,
Konstantin

Other related posts: