2007. 04. 17, kedd keltezéssel 10.18-kor David Sklar ezt írta: > My intention with the grace limit was to provide a graceful way of > failing, not to continue processing in a reduced state -- as Stanislav > said above, it could be difficult to do a lot after the allocation has > failed.
What if the allocation didn't fail on the grace limit, return a new memory as it should, but throw (set) an exception? I'm not sure, but I think it very unlikely that throwing an exception inside an emalloc would cause an inconsistent state. Maybe when the emalloc was called from throw itself, I think but this case can be handled. Are there any other places where setting an exception would cause an inconsistent state? What do you think? Adam -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
