Who needs exceptions (was Re: Two languages, too similar, competing in the same space.)

Ralph Corderoy ralph at inputplus.demon.co.uk
Thu Jan 3 04:10:46 EST 2002


Hi Andrae,

> If you're recovering from a OOM condition, you just manually allocate
> the necessary memory to log it from global_emergency_balast, and
> ensure you use direct syscall's to dump/sync any debugging/logging
> info, before free()'ing the block/doing other resource reaping.

WRT the direct syscalls bit, what if that requires more memory for C
stack frames?  Don't some architectures chain memory for stack frames
together, allocating more from somewhere when necessary?

Cheers,


Ralph.




More information about the Python-list mailing list