rtems_task_argument type

Gabriel Ibarra gabriel.ibarra at tallertechnologies.com
Tue Nov 25 14:54:24 UTC 2014


Hi, I'm working with rtems task and I'm trying to pass a pointer object as
argument of the task, using the RTEMS API.

I saw that rtems_task_argument is defined as uintptr_t, so I assume that
the way to do it, is just a cast. Is it true?, or there is another way to
do it.
Also, I wonder why uintptr_t was chosen instead of a void*.

Thanks!


-- 



Gabriel Alejandro Ibarra

Software Engineer

San Lorenzo 47, 3rd Floor, Office 5

Córdoba, Argentina

Phone: +54 351 4217888
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20141125/98eded17/attachment-0001.html>


More information about the devel mailing list