How to peep into the queue

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Thu Sep 29 18:18:25 UTC 2005


leonp at plris.com wrote:
> Thanks to Joel for the comment.
> 
> To work around my problem with urgent messages, I need to be able to peep into 
> the  first message in the queue without actually deleting it from the queue.
> 
> Is there any way to do this?

Not at the moment but it wouldn't be hard to implement.  The API level 
would just follow the normal directive template (switch, etc) and the
supercore would need a method added.  The pending message set is just a
chain and you could grab info off it easily enough.

> Thanks ahead.


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel 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