What is the difference between pulse and message?

I am a a newuser of QNX and I am doing a assignment which involves some
system call in QNX,

The MsgReceive(…) system call return a value, from specification, it
saids:

0 : it is a rcvid.It encodes the sending thread’s ID and a local connection
ID.

=0: it is a pulse ,Unlike a message, your shouldn’t reply to a pulse.

What is the difference between a pulse and a message?Why the server side
should not reply a pulse?

Also, If I have some question on concurrent programming in qnx, which
newsgroup should I post to?
Thanks a lot for your help.

P.S. btw, I still don’t know how to install an editor in qnx…I can’t find
a window with an icon and double click it… I just find something like
“software installer” for qnx, but I don’t know how to use…that may be a
stupid question, ,but I do need help…hope all of you won’t mind.

()=()=()=()=()=()=()=()=()
^_^!
I ask because I am a novice.
()=()=()=()=()=()=()=()=()



\

()=()=()=()=()=()=()=()=()
^_^!
I ask because I am a novice.
()=()=()=()=()=()=()=()=()

Shirley <novice@hongkong.com> wrote:

I am a a newuser of QNX and I am doing a assignment which involves some
system call in QNX,

Hm…I’m pretty sure you posted this elsewhere as well – it has
been answered there.

-David


The MsgReceive(…) system call return a value, from specification, it
saids:

0 : it is a rcvid.It encodes the sending thread’s ID and a local connection
ID.
=0: it is a pulse ,Unlike a message, your shouldn’t reply to a pulse.

What is the difference between a pulse and a message?Why the server side
should not reply a pulse?

Also, If I have some question on concurrent programming in qnx, which
newsgroup should I post to?
Thanks a lot for your help.

P.S. btw, I still don’t know how to install an editor in qnx…I can’t find
a window with an icon and double click it… I just find something like
“software installer” for qnx, but I don’t know how to use…that may be a
stupid question, ,but I do need help…hope all of you won’t mind.

()=()=()=()=()=()=()=()=()
^_^!
I ask because I am a novice.
()=()=()=()=()=()=()=()=()


()=()=()=()=()=()=()=()=()
^_^!
I ask because I am a novice.
()=()=()=()=()=()=()=()=()


QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Message:
When sender send a message, than he wait for a answer - is in blocked state.
Puls
When sender send a puls, not wait for a answer and continue processing (is
everytime running state).

piotr



U¿ytkownik “Shirley” <novice@hongkong.com> napisa³ w wiadomo¶ci
news:b4fp4e$9hf$1@inn.qnx.com

I am a a newuser of QNX and I am doing a assignment which involves some
system call in QNX,

The MsgReceive(…) system call return a value, from specification, it
saids:

0 : it is a rcvid.It encodes the sending thread’s ID and a local
connection
ID.
=0: it is a pulse ,Unlike a message, your shouldn’t reply to a pulse.

What is the difference between a pulse and a message?Why the server side
should not reply a pulse?

Also, If I have some question on concurrent programming in qnx, which
newsgroup should I post to?
Thanks a lot for your help.

P.S. btw, I still don’t know how to install an editor in qnx…I can’t
find
a window with an icon and double click it… I just find something like
“software installer” for qnx, but I don’t know how to use…that may be a
stupid question, ,but I do need help…hope all of you won’t mind.

()=()=()=()=()=()=()=()=()
^_^!
I ask because I am a novice.
()=()=()=()=()=()=()=()=()



\

()=()=()=()=()=()=()=()=()
^_^!
I ask because I am a novice.
()=()=()=()=()=()=()=()=()

“Piotr Pszczolkowski” <piotr@beesoft.org> wrote in message
news:b4ldio$kk4$1@inn.qnx.com

Message:
When sender send a message, than he wait for a answer - is in blocked
state.
Puls
When sender send a puls, not wait for a answer and continue processing (is
everytime running state).

Question for clarification: If the receiver of the pulse is a higher
priority task, I would assume that the receiver would then start running
(context switch) and the sender would go from “running” to “ready to run”.

Is this correct, or does the pulse not cause a priority scan?

Steve

“Steve Cobb” <steve_cobb0@yahoo.com> wrote in message
news:badjbo$ime$1@inn.qnx.com

“Piotr Pszczolkowski” <> piotr@beesoft.org> > wrote in message
news:b4ldio$kk4$> 1@inn.qnx.com> …
Message:
When sender send a message, than he wait for a answer - is in blocked
state.
Puls
When sender send a puls, not wait for a answer and continue processing
(is
everytime running state).

Question for clarification: If the receiver of the pulse is a higher
priority task, I would assume that the receiver would then start running
(context switch) and the sender would go from “running” to “ready to run”.

It doesn’t depend on the priority of the process but rather the priority of
the pulse. The process will inherit the priority of the pulse.

Is this correct, or does the pulse not cause a priority scan?

Partly correct. Note that you can get the behavior you descripbe when create
the channel and request the priority to be fixed.

Steve