开发者

How can I set the size of an Ace activation Queue?

That is, how can i limit the number of tokens/elements the Queue 开发者_StackOverflow中文版can hold?

Example:

I have a low level driver that can only process one request at a time.

I am using the Ace activation Queue to limit the request (there could be up to 10 pending), but only one is allowed to go on the bus. The rest have to wait until the first request ends.

Thanks for helping me out.

Doron.


Do you mean:

an_activation_queue.queue()->high_water_mark(new_size);

?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜