Debian Codegraph @

netsvcs/clients/Tokens/mutex/README

raw
1
2
3 test_mutex
4
5 test_mutex tests ACE_Local_Mutex and ACE_Remote_Mutex with both local
6 and global proxies. "Local proxies" mean that each thread uses its
7 own proxy (but same logical token.) "Global proxy" means that all
8 threads access the same proxy (and, of course, the same logical
9 token.)
10
11 test_mutex can take the number of threads to run from the
12 command-line. Thus, to run the test with one thread and local
13 mutexes, type:
14
15 % ./test_mutex
16
17 To run the test with 10 threads and local mutexes, type:
18
19 % ./test_mutex -t 10
20
21 To run the test with 10 threads and remote mutexes, type:
22
23 % ./test_mutex -t 10 -r
24