diff options
author | Björn Gustavsson <[email protected]> | 2012-01-19 11:00:01 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-02-21 12:22:59 +0100 |
commit | f81dd5da827e86af3bf6fedadeaaeb5fb3347c32 (patch) | |
tree | f05a3281b1eefcc68f1b0bd9513924b65360b6a2 /erts/emulator/beam/global.h | |
parent | dab78e34dac11579cda578ffc6cf9293394456e4 (diff) | |
download | otp-f81dd5da827e86af3bf6fedadeaaeb5fb3347c32.tar.gz otp-f81dd5da827e86af3bf6fedadeaaeb5fb3347c32.tar.bz2 otp-f81dd5da827e86af3bf6fedadeaaeb5fb3347c32.zip |
beam_ranges: Make ranges safe with multi-scheduling active
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 05517ac9e8..e6ff9d8577 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -891,9 +891,11 @@ Eterm erts_make_stub_module(Process* p, Eterm Mod, Eterm Beam, Eterm Info); /* beam_ranges.c */ void erts_init_ranges(void); +void erts_start_load_ranges(void); +void erts_end_load_ranges(int commit); void erts_update_ranges(BeamInstr* code, Uint size); void erts_remove_from_ranges(BeamInstr* code); -Uint erts_ranges_sz(void); +UWord erts_ranges_sz(void); void erts_lookup_function_info(FunctionInfo* fi, BeamInstr* pc, int full_info); /* break.c */ |