Permalink
Browse files

fixing build errors

  • Loading branch information...
1 parent f84a8dd commit 4d9d22343a8345fc710423cd07841ba5eb0dd8a3 @nruth committed Jan 12, 2012
Showing with 4 additions and 3 deletions.
  1. +2 −1 ebin/basho_bench.app
  2. +2 −2 src/basho_bench_driver_gaoler.erl
View
@@ -11,7 +11,8 @@
basho_bench_sup,
basho_bench_worker,
basho_bench_valgen,
- basho_bench_driver_gaoler
+ basho_bench_driver_gaoler,
+ basho_bench_driver_gaoler_centralised_lock
]},
{registered, [ basho_bench_sup ]},
{applications, [kernel,
@@ -25,11 +25,11 @@ run(acquire_release, _KeyGen, _ValueGen, State) ->
release_lock(),
{ok, State}.
-acquire_lock(Remote) ->
+acquire_lock() ->
ok = rpc:call(remote(), replica, request, [acquire,self()]).
await_lock() ->
receive lock -> lock end.
-release_lock(Remote) ->
+release_lock() ->
ok = rpc:call(remote(), lock, release, [self()]).

0 comments on commit 4d9d223

Please sign in to comment.