rt: Rename rust_initialize_global_state to rust_initialize_rt_tls_key

This commit is contained in:
Brian Anderson
2013-05-19 14:24:36 -07:00
parent f59fcd5d5f
commit 86ba457349
4 changed files with 15 additions and 8 deletions

View File

@@ -840,9 +840,9 @@ rust_get_rt_tls_key() {
return &rt_key;
}
// Initialize the global state required by the new scheduler
// Initialize the TLS key used by the new scheduler
extern "C" CDECL void
rust_initialize_global_state() {
rust_initialize_rt_tls_key() {
static lock_and_signal init_lock;
static bool initialized = false;