On 12/06/2009 08:41 PM, malc wrote:
Sure. My point is that sometimes failure to allocate is due to bugs, invalid input etc, and conversion to OOM aborts en masse, might have not been the best possible route to take, but most likely it was better than doing nothing.
I agree. Early oom handling does limit opportunities for recovery in the cases where it is possible/easy. We can have an alternative API that doesn't do oom handling for those cases where it is desirable.
-- error compiling committee.c: too many arguments to function