summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/composite/synchronization/nativecriticalsection/readme.txt
blob: 8d83bf794cdb90f3a04d0cb3faf995ded1603ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
To compile: 

For FReeBSD Platform use the following to compile:
gcc -pthread -lm -lgcc -lstdc++ -xc++ -Di386 pal_composite_native_cs.c

For Solaris Platform use the following to compile:
gcc -lpthread -lm -lgcc -lstdc++ -xc++ -D__sparc__ pal_composite_native_cs.c

For HPUX Platform use the following to compile:
gcc -lpthread -mlp64 -lm -lgcc -lstdc++ -xc++ -D_HPUX_ -D__ia64__ pal_composite_native_cs.c

To execute:
./a.out [PROCESS_COUNT]  [THREAD_COUNT] [REPEAT_COUNT] 


 ./a.out 1 32 1000000 4102406