full message queue

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Fri Jun 29 07:03:27 UTC 2007


Hi,

AFAIK this is not possible. One way to emulate this would be to create a
counting semaphore which is "obtained" whenever the writing task wants
to write to the message queue and "released", wheneer the reading task
has received a message.

wkr,
Thomas.

Julien Houles schrieb:
> Hi, 
>  
> I'd like to know if it's possible to block the sending task (of a
> message to a message queue) when the message queue is full until the
> queue is no longer full.
> I use the standard rtems_message_queue_send function (not the POSIX one).
>  
> Thanks a lot.
>  
> Julien.
> 
> ------------------------------------------------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users


-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
Tel. : +49-89-18 90 80 79-2
Fax  : +49-89-18 90 80 79-9
email: Thomas.Doerfler at embedded-brains.de
PGP public key available on request



More information about the users mailing list