Thread: split Pthread and Win32 implementations, add Dummy
Nintendo 3DS (ctrulib) support