hrydgard/ppsspp — pull request #3711 by unknownbrackets (2013-09-10 05:51:09+00:00)
Title: Fixes to various thread functions + heap corruption fix

Well, that's been there a while (ada492febe0ab62f08f9672f74de4137e5ed747f.) Oops. Wasn't actually growing the queue.

Otherwise, this is a lot of really small shot-gun changes that make threads/threads/ tests pass better. Mainly:

* Support some more attrs of sceKernelCreateThread() and report unsupported ones.
* Eat cycles when creating a thread to better match tests, correct anyway (sure takes a while...)
* Match tests a little better with attr handling.
* Reset a few things on thread termination.

It's possible this may help games that create and run more than 32 threads on the same priority, or maybe some memory alloc issues.

-[Unknown]