aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/atom.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-09-10 09:55:48 +0200
committerRickard Green <[email protected]>2010-09-10 09:55:48 +0200
commit358eaf9d14a0102eaca5bb482d03d4fc37639724 (patch)
tree472b11b92a6c75f72cd6d626558444363097da1d /erts/emulator/beam/atom.c
parenta4c1adcdbb8bcf6be85b22232ea3093cf2299b83 (diff)
parent775365a86f69bd4a9f8db44b7017662854415540 (diff)
downloadotp-358eaf9d14a0102eaca5bb482d03d4fc37639724.tar.gz
otp-358eaf9d14a0102eaca5bb482d03d4fc37639724.tar.bz2
otp-358eaf9d14a0102eaca5bb482d03d4fc37639724.zip
Merge branch 'rickard/rwmtx-spin/OTP-8819' into dev
* rickard/rwmtx-spin/OTP-8819: Fix deadlock in reader optimized rwlock implementation Remove unused variables Increase spincount with many schedulers Re-enable spin wait on ethreads rwlocks
Diffstat (limited to 'erts/emulator/beam/atom.c')
-rw-r--r--erts/emulator/beam/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/atom.c b/erts/emulator/beam/atom.c
index 6b3c106a97..b97705ed96 100644
--- a/erts/emulator/beam/atom.c
+++ b/erts/emulator/beam/atom.c
@@ -303,7 +303,7 @@ init_atom_table(void)
HashFunctions f;
int i;
Atom a;
- erts_smp_rwmtx_opt_t rwmtx_opt = ERTS_SMP_THR_OPTS_DEFAULT_INITER;
+ erts_smp_rwmtx_opt_t rwmtx_opt = ERTS_SMP_RWMTX_OPT_DEFAULT_INITER;
rwmtx_opt.type = ERTS_SMP_RWMTX_TYPE_FREQUENT_READ;
rwmtx_opt.lived = ERTS_SMP_RWMTX_LONG_LIVED;