Dan Sugalski writes:
: We'd want an alternative opcode running loop for all this, and it could
: easily enough check times, as could special opcodes. Long-running codes
: could also check at reasonable breakpoints. (Still in trouble with C
: extensions, but that's pretty much a guarantee)
It's not necessarily an alternative run loop--we need to do something
like this anyway for safe signals. What's alternative is that the
sandbox gets a periodic mandatory signal telling it to check resource
limits.
Larry