Pythoin MUD (PyMUD?)

jcm grumble at usa.net
Mon Jun 25 07:01:05 EDT 2001


Remco Gerlich <scarblac at pino.selwerd.nl> wrote:

...
> you need only one drunken wizard to code an infinite loop, and your
> driver locks up.

We get around this by using two threads.  The main thread executes the
untrusted code while a second thread keeps watch.  If the main thread
takes too long executing a given event, the second thread kills it by
sending a signal to the process (only works on unix).



More information about the Python-list mailing list