killing thread ?
Paul Rubin
phr-n2003b at NOSPAMnightsong.com
Sat Jan 25 07:41:14 EST 2003
martin at v.loewis.de (Martin v. Löwis) writes:
> > Neither seems terribly difficult; just have the interpreter keep track
> > of how much time and memory have been consumed. CPU time may be hard
> > to measure on a per-thread basis, but certainly it can count byte
> > codes executed, which should be enough for the purpose.
>
> How about memory usage?
Is there an obstacle to instrumenting the memory allocator to remember
how much memory has been allocated by sandboxed code?
More information about the Python-list
mailing list