diff options
author | Sverker Eriksson <[email protected]> | 2016-09-19 14:34:57 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-09-19 14:34:57 +0200 |
commit | 4f8071d81aa0690caa3adc734d73a1cb004ad808 (patch) | |
tree | 43891bce5cabd0baad365835b621971b2bc27940 /erts/doc/src/erlang.xml | |
parent | 7262d8630998517e97ec62a7e0d9cbdd23fdd9c8 (diff) | |
download | otp-4f8071d81aa0690caa3adc734d73a1cb004ad808.tar.gz otp-4f8071d81aa0690caa3adc734d73a1cb004ad808.tar.bz2 otp-4f8071d81aa0690caa3adc734d73a1cb004ad808.zip |
erts: Remove deprecated nif 'reload' feature
and instead let erlang:load_nif/2 return {error, {reload, _}}
before even trying to load the library
if a NIF library has already been successfully loaded
for the calling module instance.
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r-- | erts/doc/src/erlang.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index f42c39db5f..d22d40ba8a 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -2598,9 +2598,13 @@ os_prompt%</pre> <item>The library did not fulfill the requirements as a NIF library of the calling module. </item> - <tag><c>load | reload | upgrade</c></tag> + <tag><c>load | upgrade</c></tag> <item>The corresponding library callback was unsuccessful. </item> + <tag><c>reload</c></tag> + <item>A NIF library is already loaded for this module instance. + The previously deprecated <c>reload</c> feature was removed in OTP 20. + </item> <tag><c>old_code</c></tag> <item>The call to <c>load_nif/2</c> was made from the old code of a module that has been upgraded; this is not |