<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I understand your suggestion... is
there any example I could view?<br>
<br>
Luca<br>
<br>
Il 17/09/2012 12.18, Mathew Benson ha scritto:<br>
</div>
<blockquote
cite="mid:873E443A-2A98-4295-8A20-ECFCC8F7121C@gmail.com"
type="cite">
<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
moz-do-not-send="true" href="mailto:cinquepalmi@planetek.it">cinquepalmi@planetek.it</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=UTF-8"
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 moz-do-not-send="true"
href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a></span><br>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>