Barrier question

Joel Sherrill joel.sherrill at OARcorp.com
Tue Nov 2 14:48:58 UTC 2010


  On 11/02/2010 09:42 AM, Leon Pollak wrote:
> Hello, all.
>
> Using barrier, I have the following problem:
>
> The main task releasing the barrier when everybody have started and ready to
> work does not know the exact number of tasks to be started (and initialize the
> HW). This is because there is a configuration file, which decides which tasks
> to start, one by one.
>
> Releasing barrier manually also is not the best approach, as  the main task
> does not know how much time does it take for each task to initialize its HW
> and be ready to start.
>
> So, the best solution for me would be the ability to "correct" the update the
> maximum_waiters parameter in the barrier_create call.
>
> But how can this be done?
>
Add a new directive? and supporting core service?

FWIW we are available for small tasks like this.
> Thanks.


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985





More information about the users mailing list