<html><head></head><body bgcolor="#FFFFFF"><div>The same way you would with a POSIX pthread create call. Just malloc a struct with your multiple parameters, set your parameters, and pass the reference of your struct to the function. In your task entry point, cast the argument to a pointer to your struct and pull your parameters out.<br><br>Sent from my Amiga 1000</div><div><br>On Sep 17, 2012, at 4:35 AM, Luca Cinquepalmi <<a href="mailto:cinquepalmi@planetek.it">cinquepalmi@planetek.it</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
Hi all,<br>
I would like to know if is it possible to pass more than one
argument to a single task...<br>
At the moment I only use this syntax when I define a task<br>
<br>
<b><small>rtems_task Test_task(rtems_task_argument unused)</small></b><br>
<br>
How can I declare and define a more parameters dependent task?<br>
Thanks a lot.<br>
<br>
Luca<br>
<br>
<br>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rtems-users mailing list</span><br><span><a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a></span><br><span><a href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a></span><br></div></blockquote></body></html>