private vs. system message pool

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

private vs. system message pool

1,251 次查看
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 回复

725 次查看
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