readme

来自「ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识」· 代码 · 共 24 行

TXT
24
字号
test_mutextest_mutex tests ACE_Local_Mutex and ACE_Remote_Mutex with both localand global proxies.  "Local proxies" mean that each thread uses itsown proxy (but same logical token.)  "Global proxy" means that allthreads access the same proxy (and, of course, the same logicaltoken.)test_mutex can take the number of threads to run from thecommand-line.  Thus, to run the test with one thread and localmutexes, type:% ./test_mutexTo run the test with 10 threads and local mutexes, type:% ./test_mutex -t 10To run the test with 10 threads and remote mutexes, type:% ./test_mutex -t 10 -r

⌨️ 快捷键说明

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