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/rust_builtin.cpp | |
| 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/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 4 |
1 files changed, 2 insertions, 2 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; |
