Changes

Jump to navigation Jump to search
51 bytes added ,  02:31, 8 April 2015
Correct information about the CreateThread processorid parameter.
Line 793: Line 793:  
  Handle* thread=R1
 
  Handle* thread=R1
   −
This processorid is a bitmask for which processors the thread can be run on. Bit value zero enables thread execution for this CPUID, bit value one disables thread execution for this CPUID. Bit0-<...> are for CPUID0-CPUID<...>. The thread priority value must be in the following range: 0x0..0x3F.
+
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.
110

edits

Navigation menu