Waiting on message queues and semaphores.

Manuel manuel.coutinho at edisoft.pt
Fri Mar 6 12:01:48 UTC 2009


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




More information about the users mailing list