aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_util.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-09-12 20:08:42 +0200
committerSverker Eriksson <[email protected]>2017-09-12 20:08:42 +0200
commitdcb66b30a2115e2a57436d800ed41880e5be633e (patch)
treef226c53befb29208a055cf02bcd9c8b13e60c9bb /erts/emulator/beam/erl_db_util.h
parentc8cf0eb3af418ee505f6726258cb5d34b14f8867 (diff)
parent98bd5f66a03b945916baa2a91c4aba3c837676d1 (diff)
downloadotp-dcb66b30a2115e2a57436d800ed41880e5be633e.tar.gz
otp-dcb66b30a2115e2a57436d800ed41880e5be633e.tar.bz2
otp-dcb66b30a2115e2a57436d800ed41880e5be633e.zip
Merge branch 'sverker/ets-fix-assert-fix' into maint
* sverker/ets-fix-assert-fix: erts: Fix faulty ASSERT of table fixation counter
Diffstat (limited to 'erts/emulator/beam/erl_db_util.h')
-rw-r--r--erts/emulator/beam/erl_db_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db_util.h b/erts/emulator/beam/erl_db_util.h
index 19055c6110..7ce104a84c 100644
--- a/erts/emulator/beam/erl_db_util.h
+++ b/erts/emulator/beam/erl_db_util.h
@@ -220,6 +220,9 @@ typedef struct db_fixation {
Process* p;
} procs;
+ /* Number of fixations on table from procs.p
+ * Protected by table write lock or read lock + fixlock
+ */
Uint counter;
} DbFixation;