aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-03-12 19:41:53 +0100
committerSverker Eriksson <[email protected]>2018-04-20 18:05:40 +0200
commit05ea5c89f2662e9bc042d3eac40e8a0c8b9f630f (patch)
tree0ad5ba154f24565441c5d603ba2b1bb31b0835c9 /erts/emulator/beam/erl_db.c
parentb609aef496c8881cd3357f6094354b828d36576a (diff)
downloadotp-05ea5c89f2662e9bc042d3eac40e8a0c8b9f630f.tar.gz
otp-05ea5c89f2662e9bc042d3eac40e8a0c8b9f630f.tar.bz2
otp-05ea5c89f2662e9bc042d3eac40e8a0c8b9f630f.zip
erts: Use table ref for select continuation
and not the name. For more sane named table semantics. Applies to both select/1 continuation and trap context.
Diffstat (limited to 'erts/emulator/beam/erl_db.c')
-rw-r--r--erts/emulator/beam/erl_db.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c
index a76d769283..f7ee408991 100644
--- a/erts/emulator/beam/erl_db.c
+++ b/erts/emulator/beam/erl_db.c
@@ -283,6 +283,13 @@ make_tid(Process *c_p, DbTable *tb)
return erts_mk_magic_ref(&hp, &c_p->off_heap, tb->common.btid);
}
+Eterm
+erts_db_make_tid(Process *c_p, DbTableCommon *tb)
+{
+ return make_tid(c_p, (DbTable*)tb);
+}
+
+
/*
** The meta hash table of all NAMED ets tables