diff options
author | Sverker Eriksson <[email protected]> | 2012-02-03 18:13:37 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-02-21 12:23:06 +0100 |
commit | 5aed8caaaf6c6b17ca2b2bd920ba76b31d6f5675 (patch) | |
tree | 7555cc2310ae8121729acc0c4544066661e8c8a3 /erts/emulator/beam/export.c | |
parent | 63265772e86ca2e0f14a236c8aa964697a7cda70 (diff) | |
download | otp-5aed8caaaf6c6b17ca2b2bd920ba76b31d6f5675.tar.gz otp-5aed8caaaf6c6b17ca2b2bd920ba76b31d6f5675.tar.bz2 otp-5aed8caaaf6c6b17ca2b2bd920ba76b31d6f5675.zip |
erts: Refactor more renaming as "staging"
Diffstat (limited to 'erts/emulator/beam/export.c')
-rw-r--r-- | erts/emulator/beam/export.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/export.c b/erts/emulator/beam/export.c index 31de141497..9656a67a4a 100644 --- a/erts/emulator/beam/export.c +++ b/erts/emulator/beam/export.c @@ -44,10 +44,10 @@ static erts_smp_atomic_t total_entries_bytes; #include "erl_smp.h" -erts_smp_rwmtx_t export_table_lock; /* Locks the secondary export table. */ +erts_smp_rwmtx_t export_staging_lock; /* Locks the staging export table. */ -#define export_read_lock() erts_smp_rwmtx_rlock(&export_table_lock) -#define export_read_unlock() erts_smp_rwmtx_runlock(&export_table_lock) +#define export_read_lock() erts_smp_rwmtx_rlock(&export_staging_lock) +#define export_read_unlock() erts_smp_rwmtx_runlock(&export_staging_lock) extern BeamInstr* em_call_error_handler; extern BeamInstr* em_call_traced_function; @@ -180,7 +180,7 @@ init_export_table(void) rwmtx_opt.type = ERTS_SMP_RWMTX_TYPE_FREQUENT_READ; rwmtx_opt.lived = ERTS_SMP_RWMTX_LONG_LIVED; - erts_smp_rwmtx_init_opt(&export_table_lock, &rwmtx_opt, "export_tab"); + erts_smp_rwmtx_init_opt(&export_staging_lock, &rwmtx_opt, "export_tab"); erts_smp_atomic_init_nob(&total_entries_bytes, 0); f.hash = (H_FUN) export_hash; |