Erts/Otp onLoad

Bengt Kleberg bengt.kleberg@REDACTED
Wed May 19 10:29:57 CEST 2004

Tony Rogvall wrote:

> Hello list!
> I have a small suggestion for new functionality in the Erlang/Erts 
> [Otp] system.
> I would like to see that a call to a function called M:onLoad() (or 
> something) was
> made by the runtime system when a module M that exports such a 
> function was loaded
> and before any other code was executed (not a requirement).
is this similar to how*|Module:code_change() works for gen_<behaviour> ?


More information about the erlang-questions mailing list