Ref: synchronizing init task with an arbitrary number of worker tasks

Gedare Bloom gedare at rtems.org
Tue Sep 25 23:48:18 UTC 2012


A barrier should work.
http://rtems.org/onlinedocs/doc-current/share/rtems/html/c_user/c_user_225.html#Barrier-Manager

On Tue, Sep 25, 2012 at 6:30 PM, Andrei Dimitrief-Jianu
<andrei.dimitrief.jianu at gmail.com> wrote:
> Hello,
>
> I have an arbitrary number of worker tasks created and started in the
> init task. I would like to have the init task wait on all of them to
> finish and perform an exit() afterwards.
>
> Anyone can suggest a pattern to use for synchronization?
>
> Thank you!
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users



More information about the users mailing list