readme
来自「ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识」· 代码 · 共 26 行
TXT
26 行
Shows how applications can use the ACE_Token_Collection utility. Thisexample creates three collections and spawns a thread to operate oneach. The threads use the collective acquire, renew, and releasefeatures 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 -dTo run the collection remotely with debugging info, first start atoken server and the type:% ./collection -d -h <token-server-host> -p <token-server-port>The -n <iterations> option is to control how often each threaditerates on the acquire, renew, release cycle.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?