summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/MT_Client_Test/README
blob: c8397f8d9380a0341bac3ed7ce0661ef70bc65f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

Multiple Client and global resources test
=========================================


This test uses global resources, meaning one ORB and one Reactor.
Several client threads are created, which call one of the two servers. 
This means, two server instances should be running. Also one
server thread is running, doing nested upcalls to the same server.

The intention is to see if global resources with multiple threads work.

The client understands the following switches:

-f file of the ior of the first server, used by approx. half of the 
   client threads and the local server thread.

-g file of the ior of the second server

-n number of client threads {0..infty :-)}

-i number of client iterations

-s number of local server iterations


server switches:

-o file to put the ior



Usage:

server_A -o ior1 -ORBport 10031
server_A -o ior2 -ORBport 10032

//for two client threads, 10 iterations and 5 server iterations
client -f ior1 -g ior2 -n 2 -i 10 -s 5 -ORBport 10033

! Don't forget the ORB port for the client!