Commit 1fe45d5b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use two differnet semaphores for now.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3269 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6bd3c5ef
...@@ -27,25 +27,25 @@ client c1 -connect 127.0.0.1:9080 { ...@@ -27,25 +27,25 @@ client c1 -connect 127.0.0.1:9080 {
delay .2 delay .2
txreq txreq
rxresp rxresp
sema r1 sync 4 sema r2 sync 4
} -start } -start
client c2 -connect 127.0.0.1:9081 { client c2 -connect 127.0.0.1:9081 {
delay .6 delay .6
txreq txreq
rxresp rxresp
sema r1 sync 4 sema r2 sync 4
} -start } -start
client c3 -connect 127.0.0.1:9082 { client c3 -connect 127.0.0.1:9082 {
delay .9 delay .9
txreq txreq
rxresp rxresp
sema r1 sync 4 sema r2 sync 4
} -start } -start
# Wait for all servers to have received requests # Wait for all servers to have received requests
sema r1 sync 4 sema r1 sync 4
# Wait for all clients to have received responses # Wait for all clients to have received responses
sema r1 sync 4 sema r2 sync 4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment