private vs. system message pool

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

private vs. system message pool

1,255件の閲覧回数
Maciek
Contributor V

Hi,

I'm having a problem with understanding the difference (and applications) between private and system message pools. I see the difference between the private and system message queues (blocking vs. non-blocking receiving). I suppose that I can send a message to the private message queue only if the message comes from private message pool. And I can send a message to the system message queue only if the message comes from system message pool.

Am I right ?

If not - what's the difference ?

Maciek

タグ(3)
0 件の賞賛
返信
1 返信

729件の閲覧回数
c0170
Senior Contributor III

Hello Maciej Saczuk,

The difference is in the logical separation of tasks that can use private pools. If a task opened a private message pool, it is the only one task that can receive messages from the pool.

  You can send message to the private queue any time if you know the pool ID. The message can be sent from any accessible memory, e.g. from a task stack. It is copied afterwards to the queue.


Regards,

MartinK