aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/code_ix.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-01-19 21:16:29 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:00 +0100
commitdd3036c1a152c66a33b4d298cbbf428c075153b7 (patch)
tree8c0702574106166c2cbf1bcb2a9ac09bec612837 /erts/emulator/beam/code_ix.h
parentf81dd5da827e86af3bf6fedadeaaeb5fb3347c32 (diff)
downloadotp-dd3036c1a152c66a33b4d298cbbf428c075153b7.tar.gz
otp-dd3036c1a152c66a33b4d298cbbf428c075153b7.tar.bz2
otp-dd3036c1a152c66a33b4d298cbbf428c075153b7.zip
First try at non-blocking code loading!
Implemented some code_ix locks and commented calls to erts_smp_thr_progress_block()
Diffstat (limited to 'erts/emulator/beam/code_ix.h')
-rw-r--r--erts/emulator/beam/code_ix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/code_ix.h b/erts/emulator/beam/code_ix.h
index 585ddd3f20..43acd08ebf 100644
--- a/erts/emulator/beam/code_ix.h
+++ b/erts/emulator/beam/code_ix.h
@@ -48,6 +48,7 @@ void erts_lock_code_ix(void);
/* Unlock code_ix (resume first waiter)
*/
void erts_unlock_code_ix(void);
+
void erts_start_loader_code_ix(void);
void erts_commit_loader_code_ix(void);
void erts_abort_loader_code_ix(void);
@@ -58,7 +59,7 @@ void erts_rlock_old_code(ErtsCodeIndex);
void erts_runlock_old_code(ErtsCodeIndex);
#ifdef ERTS_ENABLE_LOCK_CHECK
-int erts_is_old_code_rlocked(void);
+int erts_is_old_code_rlocked(ErtsCodeIndex);
int erts_is_code_ix_locked(void);
#endif