Skip to content

Commit cd774fc

Browse files
committed
rt: Stop waking up the scheduler on a timer
1 parent b1a090c commit cd774fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/rust_scheduler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ rust_scheduler::start_main_loop() {
229229
DLOG(this, task,
230230
"all tasks are blocked, scheduler id %d yielding ...",
231231
id);
232-
lock.timed_wait(10);
232+
lock.wait();
233233
reap_dead_tasks();
234234
DLOG(this, task,
235235
"scheduler %d resuming ...", id);

0 commit comments

Comments
 (0)