aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/ets.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-12-04 11:09:28 +0100
committerLukas Larsson <[email protected]>2014-12-19 10:39:35 +0100
commit3aa7023f2e4f5454faddd663f00ee4c935f9b8f6 (patch)
treee1d088b903ce70c5810b528a28605ea1a5207cc9 /lib/stdlib/src/ets.erl
parentaa6c60768825915825b3730bb836afa9253ea0a0 (diff)
downloadotp-3aa7023f2e4f5454faddd663f00ee4c935f9b8f6.tar.gz
otp-3aa7023f2e4f5454faddd663f00ee4c935f9b8f6.tar.bz2
otp-3aa7023f2e4f5454faddd663f00ee4c935f9b8f6.zip
ets: Increase data available in crash dumps and ets:info
OTP-12376
Diffstat (limited to 'lib/stdlib/src/ets.erl')
-rw-r--r--lib/stdlib/src/ets.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/stdlib/src/ets.erl b/lib/stdlib/src/ets.erl
index 42b11a97e2..d3a6a21416 100644
--- a/lib/stdlib/src/ets.erl
+++ b/lib/stdlib/src/ets.erl
@@ -133,7 +133,9 @@ give_away(_, _, _) ->
| {owner, pid()}
| {protection, access()}
| {size, non_neg_integer()}
- | {type, type()}.
+ | {type, type()}
+ | {write_concurrency, boolean()}
+ | {read_concurrency, boolean()}.
info(_) ->
erlang:nif_error(undef).
@@ -142,7 +144,8 @@ info(_) ->
Tab :: tab(),
Item :: compressed | fixed | heir | keypos | memory
| name | named_table | node | owner | protection
- | safe_fixed | size | stats | type,
+ | safe_fixed | size | stats | type
+ | write_concurrency | read_concurrency,
Value :: term().
info(_, _) ->