Permalink
Browse files

Reenable preemption

  • Loading branch information...
jackpot51 committed Jun 15, 2017
1 parent 9b19ab9 commit 7ef2401db3f0b4ce38f87978daa8c35cc0bd82d4
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/interrupt/irq.rs
View
@@ -52,11 +52,9 @@ interrupt!(pit, {
pic::MASTER.ack();
/*
if PIT_TICKS.fetch_add(1, Ordering::SeqCst) >= 10 {
context::switch();
}
*/
// Any better way of doing this?
timeout::trigger();

0 comments on commit 7ef2401

Please sign in to comment.