diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-07-13 15:44:09 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-07-13 15:44:09 -0700 |
| commit | 39151f2ad8d18554af1d6787bae0b02345e1d90b (patch) | |
| tree | c10c032214af521351cd46d6ee23a5007927bc48 /src/rt/rust_kernel.cpp | |
| parent | 04b239f3cb9d4b62488dc2d219e9bd9a242bdf8f (diff) | |
| download | rust-39151f2ad8d18554af1d6787bae0b02345e1d90b.tar.gz rust-39151f2ad8d18554af1d6787bae0b02345e1d90b.zip | |
Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
| -rw-r--r-- | src/rt/rust_kernel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp index 92c45f3af91..6a8114e6f52 100644 --- a/src/rt/rust_kernel.cpp +++ b/src/rt/rust_kernel.cpp @@ -11,7 +11,7 @@ rust_kernel::rust_kernel(rust_srv *srv) : _region(&srv->local_region), _log(srv, NULL), _srv(srv), - _interrupt_kernel_loop(FALSE) + _interrupt_kernel_loop(FALSE) { sched = create_scheduler("main"); } @@ -245,14 +245,14 @@ rust_kernel::signal_kernel_lock() { int rust_kernel::start_task_threads(int num_threads) { rust_task_thread *thread = NULL; - + // -1, because this thread will also be a thread. for(int i = 0; i < num_threads - 1; ++i) { thread = new rust_task_thread(i + 1, this); thread->start(); threads.push(thread); } - + sched->start_main_loop(0); while(threads.pop(&thread)) { |
