English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is it possible to send data to and fro between two processes from just a single message queue?

2006-08-02 20:22:59 · 2 answers · asked by Adi 1 in Computers & Internet Programming & Design

2 answers

Yes, you could implement this bi-directionally, but there is a loss compared to using multiple queues.

Any process can append a message to the queue at any time, but there is a blocking state when serving messages from the queue ... other processes seeking to read their messages from the queue must wait for messages ahead of theirs to be served to the respective processes.

2006-08-03 00:03:20 · answer #1 · answered by Arkangyle 4 · 0 0

If the message queue you are using has a trigger can the trigger be changed dynamically?

If there is no trigger then yes the queue can be bidirectional as long as both processes can read the queue.

2006-08-03 06:43:56 · answer #2 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers