Pumpkin, Inc.

Pumpkin User Forums

Salvo messages

If you have a general question or comment regarding Salvo, post it here.

Salvo messages

Postby Teijok » Fri May 09, 2008 3:01 am


When i sending message(not queue) is there any way to check if receiver task ready to receive new message?


Posts: 1
Joined: Thu May 08, 2008 11:00 pm
Location: Finland

Re: Salvo messages

Postby aek » Fri May 09, 2008 5:19 am

What would be the state of the task that it would nt be able / ready to receive the message?

Basically, the answer is no.

It's important to note that messages are not sent to a particular task ... they are simply sent. When you signal a message, you indicate only which message is to be signaled, not (also) to which task the message is "sent".

Tasks that wait a message wait on it on a priority basis ... i.e. if you call OS_WaitMsg(msgP) in two different tasks, when you signal the message, the higher-priority task will receive the message ...


Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest