Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
1222-Document-the-on_load-result-from-erlang-lo...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1222-Document-the-on_load-result-from-erlang-load_module-.patch of Package erlang
From 47229b8555a66db2782573b5c1acd0492efb8b1f Mon Sep 17 00:00:00 2001 From: Richard Carlsson <carlsson.richard@gmail.com> Date: Mon, 31 May 2021 11:37:23 +0200 Subject: [PATCH] Document the on_load result from erlang:load_module/2 --- erts/doc/src/erlang.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 7e4e521f5b..7b614832b0 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -3476,6 +3476,13 @@ is_process_alive(P2Pid), <item><c><anno>Binary</anno></c> contains a module that cannot be loaded because old code for this module already exists. </item> + <tag><c>on_load</c></tag> + <item>The code in <c><anno>Binary</anno></c> contains an + <c>on_load</c> declaration that must be executed before + <c><anno>Binary</anno></c> can become the current code. Any + previous current code for <c><anno>Module</anno></c> will remain + until the <c>on_load</c> call has finished. + </item> </taglist> <warning> <p>This BIF is intended for the code server (see -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor