readme

来自「ACE编程的一本经典BIBLE的源代码,喜欢网络编程的别错过」· 代码 · 共 26 行

TXT
26
字号

Shows how applications can use the ACE_Token_Collection utility.  This
example creates three collections and spawns a thread to operate on
each.  The threads use the collective acquire, renew, and release
features of ACE_Token_Collection.

Here are the command-line parameters for collection:

./collection:
[-h <remote host>]
[-p <remote port>]
[-n <iterations>]
[-d debug]

To run the collection locally with debugging info, type

% ./collection -d

To run the collection remotely with debugging info, first start a
token server and the type:

% ./collection -d -h <token-server-host> -p <token-server-port>

The -n <iterations> option is to control how often each thread
iterates on the acquire, renew, release cycle.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?