Putting out the burning tree on Windows. Turns out you can completely starve threads by not yielding on windows/vmware, really weird.
This commit is contained in:
@@ -400,9 +400,9 @@ rust_dom::start_main_loop()
|
||||
|
||||
rust_task *scheduled_task = schedule_task();
|
||||
|
||||
// If we cannot schedule a task because all other live tasks
|
||||
// are blocked, yield and hopefully some progress is made in
|
||||
// other domains.
|
||||
// The scheduler busy waits until a task is available for scheduling.
|
||||
// Eventually we'll want a smarter way to do this, perhaps sleep
|
||||
// for a minimum amount of time.
|
||||
|
||||
if (scheduled_task == NULL) {
|
||||
if (_log.is_tracing(rust_log::TASK)) {
|
||||
|
||||
Reference in New Issue
Block a user