about summary refs log tree commit diff
path: root/src/libstd/task
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-10 16:01:12 -0800
committerbors <bors@rust-lang.org>2013-11-10 16:01:12 -0800
commit63cfc9989d62e0047c2f9597d2b2283717397dea (patch)
treeb2d871f930cd3a78283a80157dcb2856b4d09383 /src/libstd/task
parent95b46a1763810fc0baf0f1db520b647bf3dc14d3 (diff)
parentb71d629744167aea070298f9039de1b181f8f39e (diff)
downloadrust-63cfc9989d62e0047c2f9597d2b2283717397dea.tar.gz
rust-63cfc9989d62e0047c2f9597d2b2283717397dea.zip
auto merge of #10406 : alexcrichton/rust/issue-10405, r=huonw
The logging macros all use libuv-based I/O, and there was one stray debug
statement in task::spawn which was executing before the I/O context was ready.
Remove it and add a test to make sure that we can continue to debug this sort of
code.

Closes #10405
Diffstat (limited to 'src/libstd/task')
-rw-r--r--src/libstd/task/spawn.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs
index a4a43a01edd..b1d72c063ac 100644
--- a/src/libstd/task/spawn.rs
+++ b/src/libstd/task/spawn.rs
@@ -661,7 +661,6 @@ pub fn spawn_raw(mut opts: TaskOpts, f: ~fn()) {
                 };
                 new_sched.bootstrap(bootstrap_task);
 
-                debug!("enqueing join_task");
                 // Now tell the original scheduler to join with this thread
                 // by scheduling a thread-joining task on the original scheduler
                 orig_sched_handle.send(TaskFromFriend(join_task));