diff options
Diffstat (limited to 'erts/emulator/beam/export.h')
-rw-r--r-- | erts/emulator/beam/export.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/export.h b/erts/emulator/beam/export.h index f59c5e5c89..ef9c1d2680 100644 --- a/erts/emulator/beam/export.h +++ b/erts/emulator/beam/export.h @@ -76,9 +76,9 @@ Export *export_get(Export*); void export_start_staging(void); void export_end_staging(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) +extern erts_smp_rwmtx_t export_staging_lock; +#define export_write_lock() erts_smp_rwmtx_rwlock(&export_staging_lock) +#define export_write_unlock() erts_smp_rwmtx_rwunlock(&export_staging_lock) #include "beam_load.h" /* For em_* extern declarations */ #define ExportIsBuiltIn(EntryPtr) \ |