diff options
author | Micael Karlberg <[email protected]> | 2011-03-09 17:47:57 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-03-09 17:47:57 +0100 |
commit | d621b2cdd09adcc38bd6d482ae6c4f87e22cb1e8 (patch) | |
tree | cbe7d00d481e39c002408e65bb3ed9a0053ea781 /system/doc/design_principles/gen_server_concepts.xml | |
parent | ed30d7b09dbdc23be7facd602a07f5a373da565e (diff) | |
parent | 4668c233c8f850eb5c3e04e760b25d34b73aa497 (diff) | |
download | otp-d621b2cdd09adcc38bd6d482ae6c4f87e22cb1e8.tar.gz otp-d621b2cdd09adcc38bd6d482ae6c4f87e22cb1e8.tar.bz2 otp-d621b2cdd09adcc38bd6d482ae6c4f87e22cb1e8.zip |
Merge branch 'dev' into bmk/snmp/agent/multi_engine_id_for_traps/OTP-9119
Diffstat (limited to 'system/doc/design_principles/gen_server_concepts.xml')
-rw-r--r-- | system/doc/design_principles/gen_server_concepts.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/doc/design_principles/gen_server_concepts.xml b/system/doc/design_principles/gen_server_concepts.xml index 8131c47a69..231333da0e 100644 --- a/system/doc/design_principles/gen_server_concepts.xml +++ b/system/doc/design_principles/gen_server_concepts.xml @@ -264,6 +264,11 @@ terminate(normal, State) -> handle_info({'EXIT', Pid, Reason}, State) -> ..code to handle exits here.. {noreply, State1}.</code> + <p>The code_change method also has to be implemented.</p> + <code type="none"> +code_change(OldVsn, State, Extra) -> + ..code to convert state (and more) during code change + {ok, NewState}.</code> </section> </chapter> |