synchronous vs. asynchronous messages

G

Gary Wessle

Hi

what is the difference between synchronous vs. asynchronous messages
an object sends to another.
google was not much of a friend and wikipedia did not come to the
rescue.

thanks
 
R

red floyd

Gary said:
Hi

what is the difference between synchronous vs. asynchronous messages
an object sends to another.
google was not much of a friend and wikipedia did not come to the
rescue.

thanks

Wrong newsgroup. Standard C++ does not discuss synchronous or
asynchronous messages.
 
A

andrewmcdonagh

Hi

what is the difference between synchronous vs. asynchronous messages
an object sends to another.
google was not much of a friend and wikipedia did not come to the
rescue.

thanks

very simplistic example.....(and follow up set to comp.object)

Synchronous : when the caller has to wait for the callee to finish
processing the message.

Asynchronous: Where the Event Generator sends out an Event Object,
which contains all necessary info about what happened. The event is
sent out to an Event Queue (usually on a different thread or indeed in
a different process) and the Even Consumer(S) all handle as required.

HTH

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top