diff options
Diffstat (limited to 'erts/emulator/internal_doc/CodeLoading.md')
-rw-r--r-- | erts/emulator/internal_doc/CodeLoading.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/internal_doc/CodeLoading.md b/erts/emulator/internal_doc/CodeLoading.md index fa5bba0643..83d3d8048b 100644 --- a/erts/emulator/internal_doc/CodeLoading.md +++ b/erts/emulator/internal_doc/CodeLoading.md @@ -41,8 +41,8 @@ only be done by one loader process at a time. A second loader process trying to enter finishing phase will be suspended until the first loader is done. This will only block the process, the scheduler is free to schedule other work while the second loader is waiting. (See -`erts_try_seize_code_write_permission` and -`erts_release_code_write_permission`). +`erts_try_seize_code_load_permission` and +`erts_release_code_load_permission`). The ability to prepare several modules in parallel is not currently used as almost all code loading is serialized by the code\_server @@ -101,7 +101,7 @@ result of a half loaded module. The finishing phase is carried out in the following sequence by the BIF `erlang:finish_loading`: -1. Seize exclusive code write permission (suspend process if needed +1. Seize exclusive code load permission (suspend process if needed until we get it). 2. Make a full copy of all the active access structures. This copy is @@ -119,7 +119,7 @@ BIF `erlang:finish_loading`: 6. After thread progress, commit the staging area by assigning `the_staging_code_index` to `the_active_code_index`. -7. Release the code write permission allowing other processes to stage +7. Release the code load permission allowing other processes to stage new code. 8. Resume the loader process allowing it to return from |