diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-08-02 17:19:50 -0700 |
|---|---|---|
| committer | Eric Holk <eholk@mozilla.com> | 2011-08-03 18:21:19 -0700 |
| commit | 7a2e9f4874192551e3d9b93607f5de1c812405c5 (patch) | |
| tree | 983765c003e327e37753cac907b2cb4ccd1554bf /src/rt/rust_scheduler.cpp | |
| parent | 5d5a3ca52dc246c94c772d0de9ceefcce5243279 (diff) | |
| download | rust-7a2e9f4874192551e3d9b93607f5de1c812405c5.tar.gz rust-7a2e9f4874192551e3d9b93607f5de1c812405c5.zip | |
Sleep for a nonzero amount of time on Windows.
Diffstat (limited to 'src/rt/rust_scheduler.cpp')
| -rw-r--r-- | src/rt/rust_scheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_scheduler.cpp b/src/rt/rust_scheduler.cpp index 2c4b886b6e2..30504319b30 100644 --- a/src/rt/rust_scheduler.cpp +++ b/src/rt/rust_scheduler.cpp @@ -197,7 +197,7 @@ rust_scheduler::start_main_loop() { DLOG(this, task, "all tasks are blocked, scheduler id %d yielding ...", id); - lock.timed_wait(100000); + lock.timed_wait(10); reap_dead_tasks(id); DLOG(this, task, "scheduler %d resuming ...", id); |
