hrydgard/ppsspp — pull request #194 by unknownbrackets (2012-12-18 10:00:11+00:00)
Title: Ensure interrupts don't run on real threads

Maybe this'll hepl Puyo Puyo, didn't break any of my games and should be correct afaict.

If a thread waits on a sema, and an interrupt (such as an alarm) happens, and the interrupt signals or deletes the sema, it needs to return the value correctly.

For callbacks, it's injected, since they run on thread. But interrupts aren't supposed to run on thread anyway, so this switches to idle.

-[Unknown]