找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 4628|回复: 0

请问:关于ACE_Message_Queue::low_water_mark()的理解

[复制链接]
发表于 2011-3-20 14:22:08 | 显示全部楼层 |阅读模式
:)ACE文档是这么写的:
By default, the high_water_mark equals the low_water_mark, which means that suppliers will be able to enqueue new messages as soon as a consumer removes any message from the queue. Making the low_water_mark smaller than the high_water_mark forces consumers to drain more messages from the queue before suppliers can enqueue new messages, which can minimize the "silly window syndrome."

请问如何理解?
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-12-22 21:13 , Processed in 0.016951 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表