aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-05-18 17:59:33 +0200
committerSverker Eriksson <[email protected]>2018-06-04 16:28:47 +0200
commit1c8365272a55301609dc8c46aa49fa0ac048506e (patch)
tree1017c1e65c1953630299bffb6c5601098d2e69c0 /erts/emulator/beam/erl_db.h
parent9338ea3f9d3f7db949001a461456e8ce0339a1b5 (diff)
downloadotp-1c8365272a55301609dc8c46aa49fa0ac048506e.tar.gz
otp-1c8365272a55301609dc8c46aa49fa0ac048506e.tar.bz2
otp-1c8365272a55301609dc8c46aa49fa0ac048506e.zip
erts: Add system_info(ets_count)
Diffstat (limited to 'erts/emulator/beam/erl_db.h')
-rw-r--r--erts/emulator/beam/erl_db.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db.h b/erts/emulator/beam/erl_db.h
index db86c81914..1664db9a41 100644
--- a/erts/emulator/beam/erl_db.h
+++ b/erts/emulator/beam/erl_db.h
@@ -45,7 +45,7 @@ typedef struct {
} ErtsEtsAllYieldData;
typedef struct {
- Uint count;
+ erts_atomic_t count;
DbTable *clist;
} ErtsEtsTables;
@@ -69,6 +69,7 @@ typedef struct {
/*TT*/
Uint erts_get_ets_misc_mem_size(void);
+Uint erts_ets_table_count(void);
typedef struct {
DbTableCommon common;