diff options
author | Björn Gustavsson <[email protected]> | 2012-01-22 09:53:57 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-01-23 14:28:44 +0100 |
commit | 68731828019e14ef46ef6f2b8bd2c6eb87589a43 (patch) | |
tree | 430fda75786b9f1f1bdf2c1207943cc8736e0339 /README.md | |
parent | 4feb441edfe666ea926b11bb758d34c8b635466c (diff) | |
download | otp-68731828019e14ef46ef6f2b8bd2c6eb87589a43.tar.gz otp-68731828019e14ef46ef6f2b8bd2c6eb87589a43.tar.bz2 otp-68731828019e14ef46ef6f2b8bd2c6eb87589a43.zip |
Fix on_load handling in modules loaded by code:load_binary/3
In "13.4 Running a function when a module is loaded" in the
Reference Manual, it is said that:
A process that calls any function in a module whose on_load
function has not yet returned will be suspended until the
on_load function has returned.
That did not work if the module was loaded using code:load_binary/3.
Instead, the callers would get an 'undef' exception.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions