diff options
author | Sverker Eriksson <[email protected]> | 2012-01-23 16:48:28 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-02-21 12:23:02 +0100 |
commit | a4cb5739b9f3dd88582fdea7a00cbba721fea35d (patch) | |
tree | 01fc8ff0b64a0c7add2978236a753f75969d0825 /erts/emulator/beam/export.h | |
parent | 48e662a63e80c4f358be1ba062615ff56e09f331 (diff) | |
download | otp-a4cb5739b9f3dd88582fdea7a00cbba721fea35d.tar.gz otp-a4cb5739b9f3dd88582fdea7a00cbba721fea35d.tar.bz2 otp-a4cb5739b9f3dd88582fdea7a00cbba721fea35d.zip |
erts: Remove secondary_export_table
Diffstat (limited to 'erts/emulator/beam/export.h')
-rw-r--r-- | erts/emulator/beam/export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/export.h b/erts/emulator/beam/export.h index 85628aac0b..577e24f266 100644 --- a/erts/emulator/beam/export.h +++ b/erts/emulator/beam/export.h @@ -75,6 +75,10 @@ Export *export_get(Export*); void export_start_load(void); void export_end_load(int commit); +extern erts_smp_rwmtx_t export_table_lock; +#define export_write_lock() erts_smp_rwmtx_rwlock(&export_table_lock) +#define export_write_unlock() erts_smp_rwmtx_rwunlock(&export_table_lock) + #include "beam_load.h" /* For em_* extern declarations */ #define ExportIsBuiltIn(EntryPtr) \ (((EntryPtr)->addressv[erts_active_code_ix()] == (EntryPtr)->code + 3) && \ |