diff options
author | Lukas Larsson <[email protected]> | 2013-09-30 14:22:54 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-09-30 14:22:54 +0200 |
commit | b44a8d0e488be8ecbb018fbdb3926e129caf0ed0 (patch) | |
tree | 159270f0404e7dc8d668ca9e23cf96c8de4a48d4 /erts/emulator/beam/erl_bif_info.c | |
parent | b4f5a3a238cc726b215c6c34484d4cb5299aff33 (diff) | |
parent | c5459f9ba0e8b3568a34788bfd596f5f6be9fca2 (diff) | |
download | otp-b44a8d0e488be8ecbb018fbdb3926e129caf0ed0.tar.gz otp-b44a8d0e488be8ecbb018fbdb3926e129caf0ed0.tar.bz2 otp-b44a8d0e488be8ecbb018fbdb3926e129caf0ed0.zip |
Merge branch 'maint'
* maint:
Update preloaded
add system_info(ets_limit)
Conflicts:
erts/preloaded/ebin/erlang.beam
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rwxr-xr-x | erts/emulator/beam/erl_bif_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index 673dfc658c..3b25efd9af 100755 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -2636,6 +2636,9 @@ BIF_RETTYPE system_info_1(BIF_ALIST_1) BIF_RET(res); } + else if (ERTS_IS_ATOM_STR("ets_limit",BIF_ARG_1)) { + BIF_RET(make_small(erts_db_get_max_tabs())); + } BIF_ERROR(BIF_P, BADARG); } |