[En-Nut-Discussion] Time handling functions
Harald Kipp
harald.kipp at egnite.de
Wed May 15 13:53:43 CEST 2013
Hi Uwe,
On 14.05.2013 23:47, Uwe Bonnes wrote:
> What about about a 64-bit millisecond counter?
>
> Ole> contra:
>
> Hard to handle atomic access. Atomic access to 64-bit is easier.
You may hardly believe this, but IMHO the majority of Nut/OS
applications are running on 8-bit targets, where even 16 bit accesses
are not atomic.
Beside that, 64 bit values should be limited to environments, which are
well known to support this. The Nut/OS kernel should not depend on more
than basic C89.
Regards,
Harald
More information about the En-Nut-Discussion
mailing list