By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
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.