MsgReceive()

Hi there!

How can I check the number of items (pulses, messages)
that had been queued by the knenel?

I want to know exact how many items are waiting in the queue before I
retrive (MsgReceive()) them.

Has anybody got an idea?

Thanks.

Jun

Jun <junhot@hotmail.com> wrote:

Hi there!

How can I check the number of items (pulses, messages)
that had been queued by the knenel?

I want to know exact how many items are waiting in the queue before I
retrive (MsgReceive()) them.

Has anybody got an idea?

I don’t believe there is a way of doing that. Sorry!
But you are aware that you can do a non-blocking “poll” to see if there
are any waiting, right? See the TimerTimeout() function call in the
kernel docs. Also, check out MsgReceivePulse() in the kernel docs…

Cheers,
-RK

Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at www.parse.com
Email my initials at parse dot com.