diff options
author | Björn Gustavsson <[email protected]> | 2011-11-10 14:42:47 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-14 14:47:18 +0100 |
commit | 0b27c0ce578db5266dbaaa50a6d116836a03aa94 (patch) | |
tree | 9ee2bacc604351671484a9e752e1f096389c3016 /erts/emulator/beam/beam_load.h | |
parent | 4de78fc7542905a519ec52b91769df63f8939952 (diff) | |
download | otp-0b27c0ce578db5266dbaaa50a6d116836a03aa94.tar.gz otp-0b27c0ce578db5266dbaaa50a6d116836a03aa94.tar.bz2 otp-0b27c0ce578db5266dbaaa50a6d116836a03aa94.zip |
BEAM loader: Refactor code loading into separate functions
Break apart code loading into the three functions:
erts_alloc_loader_state()
erts_prepare_loading()
erts_finish_loading()
The erts_alloc_loader_state() and erts_prepare_loading() can be
executed with all schedulers running. Only erts_finish_loading()
needs to be run in a single-scheduling system.
Diffstat (limited to 'erts/emulator/beam/beam_load.h')
-rw-r--r-- | erts/emulator/beam/beam_load.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_load.h b/erts/emulator/beam/beam_load.h index 2956bd0add..126d9a3935 100644 --- a/erts/emulator/beam/beam_load.h +++ b/erts/emulator/beam/beam_load.h @@ -26,6 +26,7 @@ Eterm beam_make_current_old(Process *c_p, ErtsProcLocks c_p_locks, Eterm module); + typedef struct gen_op_entry { char* name; int arity; |