diff options
author | adelzhang <[email protected]> | 2014-10-02 01:15:32 +0800 |
---|---|---|
committer | adelzhang <[email protected]> | 2014-10-02 01:15:32 +0800 |
commit | 345a88de479b3c71eafb3cab6a73c2f659a98b94 (patch) | |
tree | 4735734454803b8fc5e1785cf8a57397960d2a66 /lib/kernel/src/application_master.erl | |
parent | 86ae7ccc44b38137c504a46b619ffad935d74b99 (diff) | |
download | otp-345a88de479b3c71eafb3cab6a73c2f659a98b94.tar.gz otp-345a88de479b3c71eafb3cab6a73c2f659a98b94.tar.bz2 otp-345a88de479b3c71eafb3cab6a73c2f659a98b94.zip |
Fix obsolete comment
spawn_request/1 is obsolete since R11B-0
Diffstat (limited to 'lib/kernel/src/application_master.erl')
-rw-r--r-- | lib/kernel/src/application_master.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/application_master.erl b/lib/kernel/src/application_master.erl index bc15b5a7de..7cdbe31ab2 100644 --- a/lib/kernel/src/application_master.erl +++ b/lib/kernel/src/application_master.erl @@ -103,9 +103,9 @@ call(AppMaster, Req) -> %%% The reason for not using the logical structrure is that %%% the application start function is synchronous, and %%% that the AM is GL. This means that if AM executed the start -%%% function, and this function uses spawn_request/1 -%%% or io, deadlock would occur. Therefore, this function is -%%% executed by the process X. Also, AM needs three loops; +%%% function, and this function uses io, deadlock would occur. +%%% Therefore, this function is executed by the process X. +%%% Also, AM needs three loops; %%% init_loop (waiting for the start function to return) %%% main_loop %%% terminate_loop (waiting for the process to die) |