diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-04-27 19:13:51 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-04-27 19:13:51 +0200 |
commit | 91a6dc5c75f23164a9b9100dbe96ebd2fee6860b (patch) | |
tree | dbff2719a538ec8e9728f27fe647c2a1a6ac79cb /erts/emulator/beam | |
parent | c135bf3837bea0c3560a4808f5175c06c20d9bd4 (diff) | |
parent | 57dffc2e9adffd5834a18f837b7d06edf8de8e92 (diff) | |
download | otp-91a6dc5c75f23164a9b9100dbe96ebd2fee6860b.tar.gz otp-91a6dc5c75f23164a9b9100dbe96ebd2fee6860b.tar.bz2 otp-91a6dc5c75f23164a9b9100dbe96ebd2fee6860b.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_async.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_async.c b/erts/emulator/beam/erl_async.c index f321ed21aa..cb975d64b0 100644 --- a/erts/emulator/beam/erl_async.c +++ b/erts/emulator/beam/erl_async.c @@ -253,7 +253,9 @@ erts_get_async_ready_queue(Uint sched_id) static ERTS_INLINE void async_add(ErtsAsync *a, ErtsAsyncQ* q) { +#ifdef USE_VM_PROBES int len; +#endif if (is_internal_port(a->port)) { #if ERTS_USE_ASYNC_READY_Q @@ -291,7 +293,9 @@ static ERTS_INLINE ErtsAsync *async_get(ErtsThrQ_t *q, int saved_fin_deq = 0; ErtsThrQFinDeQ_t fin_deq; #endif +#ifdef USE_VM_PROBES int len; +#endif while (1) { ErtsAsync *a = (ErtsAsync *) erts_thr_q_dequeue(q); |