citra-emu/citra — pull request #250 by Subv (2014-12-04 04:40:14+00:00)
Title: SVC: Implemented GetThreadId.

For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.