aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2011-10-09 01:03:06 +0200
committerRickard Green <[email protected]>2011-11-13 20:40:58 +0100
commit933790021e5fa95e4e6242e3f2eb2fcf64666a57 (patch)
treebe512e3cb810bb6db9fac2a41977d96cf7a4471f /erts/emulator/beam/erl_db.c
parent9bed74c6b44f691c7c6572ec2c9f57219d8894a6 (diff)
downloadotp-933790021e5fa95e4e6242e3f2eb2fcf64666a57.tar.gz
otp-933790021e5fa95e4e6242e3f2eb2fcf64666a57.tar.bz2
otp-933790021e5fa95e4e6242e3f2eb2fcf64666a57.zip
Use generic lock-free queue for misc aux work
Diffstat (limited to 'erts/emulator/beam/erl_db.c')
-rw-r--r--erts/emulator/beam/erl_db.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c
index 0327850cb9..259ebd838e 100644
--- a/erts/emulator/beam/erl_db.c
+++ b/erts/emulator/beam/erl_db.c
@@ -277,8 +277,7 @@ static void schedule_free_dbtable(DbTable* tb)
ASSERT(scheds >= 1);
ASSERT(erts_refc_read(&tb->common.ref, 0) == 0);
erts_refc_init(&tb->common.ref, scheds);
- ERTS_THR_MEMORY_BARRIER;
- erts_smp_schedule_misc_aux_work(0, scheds, chk_free_dbtable, tb);
+ erts_schedule_multi_misc_aux_work(0, scheds, chk_free_dbtable, tb);
#else
free_dbtable(tb);
#endif