hrydgard/ppsspp — pull request #1960 by unknownbrackets (2013-05-28 05:46:12+00:00)
Title: Recalculate numWaitThreads all the time.

Before, it could go negative by having a thread woken a second time (e.g. because of a delete) before it actually scheduled and woke up.

Should've just done it this way from the start...

-[Unknown]