Define Asynchronous Messages and Synchronous Messages-01884
This subjective question is related to the book/course vu mgt201 Financial Management. It can also be found in vu mgt201 Mid Term Solved Past Paper No. 1.
Question 1: Define Asynchronous Messages and Synchronous Messages.
Answer:
Asynchronous Messages:
Asynchronous messages are "signals," denoted by a half arrow. They do not block the caller. Asynchronous messages typically perform the following actions:
- Create a new thread
- Create a new object
- Communicate with a thread that is already running
Synchronous Messages:
Synchronous messages are "call events" and are denoted by the full arrow. They represent nested flow of control which is typically implemented as an operation call. In case of a synchronous message, the caller waits for the called routine to complete its operation before moving forward.