Post #5224 · Thu, 2017 Apr 27, 15:46:25
So it's not really TCRF material, but Mario Kart 64's
threads have the IDs 1, 3, 4, 5 and 9.

(And two have ID zero because the ID isn't actually used for anything and they're created by library functions that don't bother to set it.) I don't think the IDs are standardized across games, so it's a strange ordering. I didn't find any other calls to the CreateThread/osCreateThread functions. Maybe 2 was used in debug versions to connect to an external debugger?
Also, the first thread passes its own argument as the video thread's argument, but it's null and never used.
____________________