diff options
author | Rickard Green <[email protected]> | 2017-02-13 18:22:39 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-03-02 16:59:40 +0100 |
commit | 0d6dc895744c34c9c52fd42f4801a8a941864ae3 (patch) | |
tree | 0897454769a576412c8ddf6605d9dfd5883929e4 /erts/emulator/beam/erl_db_util.h | |
parent | 39b43dd10605f60d580ba9a73136713a776c635d (diff) | |
download | otp-0d6dc895744c34c9c52fd42f4801a8a941864ae3.tar.gz otp-0d6dc895744c34c9c52fd42f4801a8a941864ae3.tar.bz2 otp-0d6dc895744c34c9c52fd42f4801a8a941864ae3.zip |
Introduce references as table identifiers
Diffstat (limited to 'erts/emulator/beam/erl_db_util.h')
-rw-r--r-- | erts/emulator/beam/erl_db_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db_util.h b/erts/emulator/beam/erl_db_util.h index 471fefe3cb..3f507b559f 100644 --- a/erts/emulator/beam/erl_db_util.h +++ b/erts/emulator/beam/erl_db_util.h @@ -212,6 +212,7 @@ typedef struct db_fixation { */ typedef struct db_table_common { + erts_smp_refc_t refc; /* reference count of table struct */ erts_smp_refc_t ref; /* fixation counter */ #ifdef ERTS_SMP erts_smp_rwmtx_t rwlock; /* rw lock on table */ @@ -225,6 +226,7 @@ typedef struct db_table_common { Uint64 heir_started_interval; /* To further identify the heir */ Eterm the_name; /* an atom */ Eterm id; /* atom | integer */ + Binary *btid; DbTableMethod* meth; /* table methods */ erts_smp_atomic_t nitems; /* Total number of items in table */ erts_smp_atomic_t memory_size;/* Total memory size. NOTE: in bytes! */ |