Skip to content

Fix mpsc (PIT interrupts doesn't fire) by adding yield_now

Jeremy Soller requested to merge ticki:master into master

Created by: ticki

Problem: PIT interrupts doesn't fire, making yield_now mandatory in busy loops. This bug have broken mpsc.

Solution: Add thread::yield_now() as a temporary "fix" for this bug.

Changes introduced by this pull request:

  • Add thread::yield_now() on the reciever side busy loop for retrieving the top elements in the queue.
  • Update submodules.

Drawbacks: None.

TODOs: Fix the PIT bug.

Fixes: Fixes #542 (closed).

State: Ready.

Blocking/related: #575 (closed).

Merge request reports