diff options
author | Jesper Louis Andersen <[email protected]> | 2010-12-16 03:33:10 +0100 |
---|---|---|
committer | Jesper Louis Andersen <[email protected]> | 2010-12-16 13:14:05 +0100 |
commit | 67dd153f6aff8dab6dc8d938664696675b152c20 (patch) | |
tree | 12fc7ea5ab58588e00a935a97dc39d82634e6867 /erts/lib_src/common/ethr_mutex.c | |
parent | f7eaaee444b6d785bd2a9dbb86e96e6db0c04b4d (diff) | |
download | otp-67dd153f6aff8dab6dc8d938664696675b152c20.tar.gz otp-67dd153f6aff8dab6dc8d938664696675b152c20.tar.bz2 otp-67dd153f6aff8dab6dc8d938664696675b152c20.zip |
Fix type specification of the ets:new/2 BIF
The options for the ets:new/2 call has changed recently. There are
read_concurrency hints as well as compressed tables. The hipe/dialyzer
did not take this into account. This patch corrects the problem by
going through the documentation and altering the type specification.
The error fixed is with the dialyzer. When constructing an ETS table
with, e.g., {read_concurrency, true}, the dialyzer will report that the
caller of ets:new/2 will not return.
; First, we update the documentation from the ets man page.
; Second, we reorder the type specification of keypos so they appear
in the same order as in the documentation.
; Finally, we add the missing read_concurrency and compressed Tweak
options.
Diffstat (limited to 'erts/lib_src/common/ethr_mutex.c')
0 files changed, 0 insertions, 0 deletions