Hey Ola,

Any chance of a patch ;)
Maybe we can pull this together as part of a series that updates
global_init.


On 15 August 2014 11:17, Ola Liljedahl <[email protected]> wrote:

> (This document/code contribution attached is provided under the terms of
> agreement LES-LTM-21309)
>
> I contribute a proposal for a log API for ODP to stimulate further
> discussion.
>
> Some comments:
> Header file missing compile-time selection of log/severity levels, left as
> an exercise to the mailing list.
> Implementation is not thread safe but that should be easy to fix,
> thread-unsafe operations are not performance critical so some coarse
> locking should be fine.
> Example usage in log_example.c. This is really the important part.
>
> Build with
> gcc -std=c99 -Wall odp_log.c log_example.c  -o log_example
>
> There might be one thing that is GCC-specific, see if you can find it.
>
> -- Ola
>
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
>


-- 
*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