On Mon, Sep 22, 2014 at 08:54:30AM -0700, Bala Manoharan wrote: >Hi Mike, > >I would not prefer LOG functions to call abort() on behalf of the application, >this design prevents the applications from calling its specific clean-up code. >coz applications can be written in a way in which clean-up can be done in a >single place at the end of the main function combining all the lock-release and >clean-up for different calls.
I'd agree with that myself, yes, but Mike's just cleaning up existing code which calls LOG_ERR() then exit() in a number of cases as far as I can see. I'm a very stong believer in libraries *not* causing a process to exit. Cheers, -- Steve McIntyre [email protected] <http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
