[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Waiting on message queues and semaphores.
- Date: Fri, 6 Mar 2009 12:01:48 -0000
- From: manuel.coutinho at edisoft.pt (Manuel)
- Subject: Waiting on message queues and semaphores.
Hi
The calling task blocks (does NOT perform an active wait). It allows the
other lower priority tasks to run.
Kind regards
Manuel Coutinho
> -----Original Message-----
> From: rtems-users-bounces at rtems.org [mailto:rtems-users-bounces at rtems.org]
> On Behalf Of Nick Thomas
> Sent: Friday, March 06, 2009 11:56 AM
> To: rtems-users at rtems.com
> Subject: Waiting on message queues and semaphores.
>
> Hi,
>
> When using rtems_message_queue_receive and rtems_semaphore_obtain, the
> calling task waits until the appropriate event happens and then processing
> continues.
> But, does the calling task actually 'wait' and allow lower priority tasks
> to
> run, or does it just 'block' ?
>
> Thanks in advance.
>
> Regards
>
> Nick
>
> -----------------------------
> Nick Thomas
> Email: nick.thomas at pixsan.com
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users