aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_hash.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-05-07 18:15:56 +0200
committerSverker Eriksson <[email protected]>2018-05-08 14:38:43 +0200
commitc500b0acdad588fa4c3d0cba15a9c61dc30a3190 (patch)
tree736c3b415c96ab57aed37d555d84049ad15b6c59 /erts/emulator/beam/erl_db_hash.h
parent0657a616adc74bf71342053539c807031fa9d162 (diff)
downloadotp-c500b0acdad588fa4c3d0cba15a9c61dc30a3190.tar.gz
otp-c500b0acdad588fa4c3d0cba15a9c61dc30a3190.tar.bz2
otp-c500b0acdad588fa4c3d0cba15a9c61dc30a3190.zip
erts: Make ets:delete_all_objects yield on fixed table
Diffstat (limited to 'erts/emulator/beam/erl_db_hash.h')
-rw-r--r--erts/emulator/beam/erl_db_hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db_hash.h b/erts/emulator/beam/erl_db_hash.h
index d48343378d..08e5b13db1 100644
--- a/erts/emulator/beam/erl_db_hash.h
+++ b/erts/emulator/beam/erl_db_hash.h
@@ -24,8 +24,9 @@
#include "erl_db_util.h" /* DbTerm & DbTableCommon */
typedef struct fixed_deletion {
- UWord slot : sizeof(UWord)*8 - 1;
+ UWord slot : sizeof(UWord)*8 - 2;
UWord all : 1;
+ UWord trap : 1;
struct fixed_deletion *next;
} FixedDeletion;