[En-Nut-Discussion] Message Queues

Matthias Ringwald mringwal at inf.ethz.ch
Thu Mar 24 17:14:46 CET 2005


Hi Ernst

the Ticks have been added to avoid an extra long division within a 
critical section.

for msg.c there is no real difference. actually, before this fix, msg.c 
was calling
NutTiemrStart(1).. so you're fine. (have a look at the previous version 
of msg.c in cvs)

matthias

On 23.03.2005, at 20:47, Ernst Stippl wrote:

> Hi All!
>
> I am working on a project which needs message queues. There is msg.c in
> Nut/OS 3.9.5, but I am using 3.9.1 and the project is already in an 
> advanced
> stage so I dont want to change the Nut/OS version.
>
> Is it possible to use msg.c under Nut/OS 3.9.1?
> GCC complains there is no "NutTimerStartTicks" function in 3.9.1, but I
> added
>
> #define NutTimerStartTicks NutTimerStart
>
> to msg.c to satisfy the compiler (I found from the documentation that 
> both
> functions have the same parameter types), but I have not digged in 
> what's
> the difference between the "...Ticks" function and the other one.
>
> Will it work under 3.9.1?
>
> Thanks & Regards
> Ernst
>
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list