diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-05-19 14:24:36 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-05-20 15:20:50 -0700 |
| commit | 86ba4573498ef251933fcc784d513c7586dfaae1 (patch) | |
| tree | 5c46ae7b927da4a5a8a4942c19d190070f0e7abc /src/rt | |
| parent | f59fcd5d5f7ba94f7c705eb2c081760dd2213067 (diff) | |
| download | rust-86ba4573498ef251933fcc784d513c7586dfaae1.tar.gz rust-86ba4573498ef251933fcc784d513c7586dfaae1.zip | |
rt: Rename rust_initialize_global_state to rust_initialize_rt_tls_key
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 4 | ||||
| -rw-r--r-- | src/rt/rustrt.def.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 1a64066b5a9..a2f253550af 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -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; diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in index cdc282440b8..e3e522aa7ce 100644 --- a/src/rt/rustrt.def.in +++ b/src/rt/rustrt.def.in @@ -222,7 +222,7 @@ rust_uv_ip4_addrp rust_uv_ip6_addrp rust_uv_free_ip4_addr rust_uv_free_ip6_addr -rust_initialize_global_state +rust_initialize_rt_tls_key rust_dbg_next_port rust_new_memory_region rust_delete_memory_region |
