diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-29 16:31:30 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-31 19:51:29 -0700 |
| commit | 243790836a40fd3f23d8bd16d8f45430d19aae61 (patch) | |
| tree | 972cd3efcba28932a840aa9af3d244232a1e9711 /src/rt/rust_uv.cpp | |
| parent | 6bf8d19712e2310ab6a7da2e82b2287278a772e4 (diff) | |
| download | rust-243790836a40fd3f23d8bd16d8f45430d19aae61.tar.gz rust-243790836a40fd3f23d8bd16d8f45430d19aae61.zip | |
rt: Rename rust_task_thread to rust_sched_loop
This class no longer represents a thread; it just schedules tasks.
Diffstat (limited to 'src/rt/rust_uv.cpp')
| -rw-r--r-- | src/rt/rust_uv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp index 096d40d2235..f54589bdf62 100644 --- a/src/rt/rust_uv.cpp +++ b/src/rt/rust_uv.cpp @@ -20,13 +20,13 @@ struct handle_data { // helpers static void* current_kernel_malloc(size_t size, const char* tag) { - void* ptr = rust_task_thread::get_task()->kernel->malloc(size, tag); + void* ptr = rust_sched_loop::get_task()->kernel->malloc(size, tag); return ptr; } static void current_kernel_free(void* ptr) { - rust_task_thread::get_task()->kernel->free(ptr); + rust_sched_loop::get_task()->kernel->free(ptr); } static handle_data* |
