diff options
author | Sverker Eriksson <[email protected]> | 2017-09-12 20:08:42 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-09-12 20:08:42 +0200 |
commit | dcb66b30a2115e2a57436d800ed41880e5be633e (patch) | |
tree | f226c53befb29208a055cf02bcd9c8b13e60c9bb /erts/emulator/beam/erl_db_util.h | |
parent | c8cf0eb3af418ee505f6726258cb5d34b14f8867 (diff) | |
parent | 98bd5f66a03b945916baa2a91c4aba3c837676d1 (diff) | |
download | otp-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.h | 3 |
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; |