SVC: Difference between revisions
Correct information about the CreateThread processorid parameter. |
|||
Line 793: | Line 793: | ||
Handle* thread=R1 | Handle* thread=R1 | ||
The processorid parameter specifies which processors the thread can run on. Values 0 and 1 correspond to each CPU, respectively. -1 means all CPUs, and -2 means the default CPU for the process (0 for applications, 1 for system services). Games usually create threads using -2. | |||
The thread priority value must be in the following range: 0x0..0x3F. | |||
With the Old3DS kernel, the s32 processorid must be <=2. | With the Old3DS kernel, the s32 processorid must be <=2. |