Yes. I would prefer ODP_ABORT("message") this call can be used by the
application so that there is no need to provide two separate calls for
ODP_ERR and abort().


Regards,
Bala

On 22 September 2014 09:14, Mike Holmes <[email protected]> wrote:

>
>
> On 22 September 2014 11:54, Bala Manoharan <[email protected]>
> wrote:
>
>> Hi Mike,
>>
>> I would not prefer LOG functions to call abort() on behalf of the
>> application,
>>
> Np, If we want a new name that is fine, I wondered how many ODP_ERRs would
> be seriously considered ERR or a FATAL
> The purpose is to ensure there is no need of calls to exit in the
> implementations, so any ideas on a good name? From the above possibly
> ODP_FATAL?
> We also then need to update
> http://docs.opendataplane.org/arch/html/exception_handling.html  to make
> it clearer.
>
> 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.
>>
>> Is there any specific requirement for this design?
>>
>> Regards,
>> Bala
>>
>
>
>
> --
> *Mike Holmes*
> Linaro Technical Manager / Lead
> LNG - ODP
>
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to