aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/multithreading-tests/stress-test/runme.sh
blob: ac7e0b2842635ba10abfa2811d487a23726d7f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RunMe & ReadMe
#
# provider.py  will run  flexiprovider and update test.int every second to the POSIX time.
# Additionally, it will change the registry every two seconds.
#
# stress-test takes two int arguments: the number of threads using the first and the second provider.
#
# Compiling: for now, use qmake & make. Sorry.

#xterm -e 'rlwrap ../../../python/context-provide  my.test.provider int test.int 0 int test.int2 0' &
#xterm -e 'rlwrap ../../../python/context-provide  my.test2.provider int test2.int 0 int test2.int2 0' &

xterm -e './provider.py' &
CONTEXT_PROVIDERS=../stress-test/ ./stress-test 3 3