diff options
| author | Michael Bebenita <[email protected]> | 2010-09-15 11:56:45 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-09-16 00:51:03 -0700 |
| commit | 1bd331b7aaa24245f86868305ab64600683a41e1 (patch) | |
| tree | 1b088c433bc95ee416eefe502b0dca866b5dead6 /src/rt/rust_dom.cpp | |
| parent | Add beginnings of a fuzzer to rustboot. (diff) | |
| download | rust-1bd331b7aaa24245f86868305ab64600683a41e1.tar.xz rust-1bd331b7aaa24245f86868305ab64600683a41e1.zip | |
Fixed deadlock caused by the message pump not being notified of new message sends.
Diffstat (limited to 'src/rt/rust_dom.cpp')
| -rw-r--r-- | src/rt/rust_dom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_dom.cpp b/src/rt/rust_dom.cpp index d3b5d2ce..45279551 100644 --- a/src/rt/rust_dom.cpp +++ b/src/rt/rust_dom.cpp @@ -314,7 +314,7 @@ rust_dom::start_main_loop() { } log(rust_log::TASK, "all tasks are blocked, scheduler yielding ..."); - sync::yield(); + sync::sleep(100); log(rust_log::TASK, "scheduler resuming ..."); continue; |