diff options
| author | Matthias Radestock <matthias@lshift.net> | 2010-04-09 17:14:03 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2010-04-09 17:14:03 +0100 |
| commit | 0a47cb9a4049e6295644ff7fd06fd39a33bf775a (patch) | |
| tree | f2ba8e590b7889ff38f30475f0709d555f41912c /src | |
| parent | fcb86e5510b702d78892eaa0de5d00471339918f (diff) | |
| parent | d3817865c0ef6cd15a376c9b502d415f10fb3e6c (diff) | |
| download | rabbitmq-server-git-0a47cb9a4049e6295644ff7fd06fd39a33bf775a.tar.gz | |
merge default into bug21673
Diffstat (limited to 'src')
| -rw-r--r-- | src/worker_pool.erl | 3 | ||||
| -rw-r--r-- | src/worker_pool_worker.erl | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/worker_pool.erl b/src/worker_pool.erl index 5f75a4c660..97e075459f 100644 --- a/src/worker_pool.erl +++ b/src/worker_pool.erl @@ -54,7 +54,8 @@ -spec(start_link/0 :: () -> {'ok', pid()} | 'ignore' | {'error', any()}). -spec(submit/1 :: (fun (() -> A) | {atom(), atom(), [any()]}) -> A). --spec(submit_async/1 :: (fun (() -> any()) | {atom(), atom(), [any()]}) -> 'ok'). +-spec(submit_async/1 :: + (fun (() -> any()) | {atom(), atom(), [any()]}) -> 'ok'). -endif. diff --git a/src/worker_pool_worker.erl b/src/worker_pool_worker.erl index 8cd84a95ca..fbe8ab681e 100644 --- a/src/worker_pool_worker.erl +++ b/src/worker_pool_worker.erl @@ -46,7 +46,8 @@ -spec(start_link/1 :: (any()) -> {'ok', pid()} | 'ignore' | {'error', any()}). -spec(submit/2 :: (pid(), fun (() -> A) | {atom(), atom(), [any()]}) -> A). --spec(submit_async/2 :: (pid(), fun (() -> any()) | {atom(), atom(), [any()]}) -> 'ok'). +-spec(submit_async/2 :: + (pid(), fun (() -> any()) | {atom(), atom(), [any()]}) -> 'ok'). -endif. |
