Skip to content

Commit dc49e4b

Browse files
committed
kernel: Allow timers with zero duration
1 parent 117f47f commit dc49e4b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/kernel/timers.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,6 @@ void Timers::timers_handler()
275275
}
276276
static void sched_timer(duration_t when, Timers::id_t id)
277277
{
278-
assert(when != microseconds::zero());
279-
280278
auto& system = get();
281279
system.scheduled.
282280
emplace(std::piecewise_construct,

0 commit comments

Comments
 (0)