diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-17 18:25:06 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-18 18:18:18 -0700 |
| commit | 5d4bf75f56a10c4d15acb3ecb3d33aeea5511806 (patch) | |
| tree | 7d14eb8fd2a31446bd137588754c2ca330368eee /src/rt/rust_task_list.cpp | |
| parent | 47c18957242e34ddb8b12f27c8efd396171fef6d (diff) | |
| download | rust-5d4bf75f56a10c4d15acb3ecb3d33aeea5511806.tar.gz rust-5d4bf75f56a10c4d15acb3ecb3d33aeea5511806.zip | |
rt: Convert rust_task_list to a typedef
Diffstat (limited to 'src/rt/rust_task_list.cpp')
| -rw-r--r-- | src/rt/rust_task_list.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/rt/rust_task_list.cpp b/src/rt/rust_task_list.cpp deleted file mode 100644 index 998dcb80759..00000000000 --- a/src/rt/rust_task_list.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "rust_internal.h" - -rust_task_list::rust_task_list (rust_task_thread *thread) : - thread(thread) { -} - -void -rust_task_list::delete_all() { - DLOG(thread, task, "deleting all tasks"); - while (is_empty() == false) { - rust_task *task = pop_value(); - DLOG(thread, task, "deleting task " PTR, task); - delete task; - } -} |
