diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-20 10:14:21 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-20 10:14:21 +0200 |
commit | 50a8b9ea0c4a819073b46449dee8fc839b837ae5 (patch) | |
tree | a1effc887ebb0e824959b114dd0ed67e788d0507 /perf/ruby | |
parent | edecf75b611cf0e6b1c2658846cff013434edad4 (diff) |
'flags' parameter added to zmq_init
Diffstat (limited to 'perf/ruby')
-rw-r--r-- | perf/ruby/local_lat.rb | 2 | ||||
-rw-r--r-- | perf/ruby/local_thr.rb | 2 | ||||
-rw-r--r-- | perf/ruby/remote_lat.rb | 2 | ||||
-rw-r--r-- | perf/ruby/remote_thr.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/perf/ruby/local_lat.rb b/perf/ruby/local_lat.rb index b71af80..8806ccb 100644 --- a/perf/ruby/local_lat.rb +++ b/perf/ruby/local_lat.rb @@ -27,7 +27,7 @@ bind_to = ARGV[0] message_size = ARGV[1].to_i roundtrip_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, REP); s.bind(bind_to); diff --git a/perf/ruby/local_thr.rb b/perf/ruby/local_thr.rb index b916f2d..6d9d13f 100644 --- a/perf/ruby/local_thr.rb +++ b/perf/ruby/local_thr.rb @@ -27,7 +27,7 @@ bind_to = ARGV[0] message_size = ARGV[1].to_i message_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, SUB); s.setsockopt(SUBSCRIBE, "*"); diff --git a/perf/ruby/remote_lat.rb b/perf/ruby/remote_lat.rb index 9387fe1..f5b438d 100644 --- a/perf/ruby/remote_lat.rb +++ b/perf/ruby/remote_lat.rb @@ -27,7 +27,7 @@ connect_to = ARGV[0] message_size = ARGV[1].to_i roundtrip_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, REQ); s.connect(connect_to); diff --git a/perf/ruby/remote_thr.rb b/perf/ruby/remote_thr.rb index ef93961..760ff88 100644 --- a/perf/ruby/remote_thr.rb +++ b/perf/ruby/remote_thr.rb @@ -27,7 +27,7 @@ connect_to = ARGV[0] message_size = ARGV[1].to_i message_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, PUB); # Add your socket options here. |