BTW, I wrote a tool based on http://3dbrew.org/wiki/Configuration_Memory#ARM11_Kernel_Configuration_Memory
Just for saving the described pages :3
I posted it on Github, if anyone's interested
I haven't played around with the threads yet, but it would be cool if you could put core and video on separate threads.
You could even have a piece of data that tells when the frame is being messed with and, if the emulator isn't ready for the screen to draw it just tells the draw thread to wait
From what I remember reading, though, put the lighter load on the first thread
I remember reading that the first thread can only use like %30 of the cpu on that thread on o3ds and like %80 on n3ds, but don't quote me on that.
What processor id are you using on the CreateThread function?