On 10 December 2015 at 09:30, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia.com> wrote:
> > > > > *From:* lng-odp [mailto:lng-odp-boun...@lists.linaro.org] *On Behalf Of *EXT > Ola Liljedahl > *Sent:* Wednesday, December 09, 2015 6:26 PM > *To:* Bill Fischofer > *Cc:* LNG ODP Mailman List > *Subject:* Re: [lng-odp] [API-NEXT PATCH] linux-generic: time: remove > posix bleed through on odp_time_t > > > > On 9 December 2015 at 16:53, Bill Fischofer <bill.fischo...@linaro.org> > wrote: > > The linux-generic implementation of odp_time_t makes use of POSIX > APIs that are sensitive to the _POSIX_C_SOURCE level. Use an indirection > mechanism so that these dependencies do not "bleed through" the ODP API. > This means that ODP applications can be independent of _POSIX_C_SOURCE > level. > > Yes this is the way it should be done. This is also another step in the > ODP API becoming binary portable and run-time independent of the actual > implementation. > > > > This definition is still platform (linux-generic) specific. It just > redefines timespec struct, so that original timespec and thus posix level > is not visible to application. > For now it is platform specific but now when we have a definition which is decoupled from the underlying implementation, we can promote this to become the binary interface for all ODP implementations. I didn't say we are there yet. > > > -Petri > > >
_______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp