How to use svcSetThreadCoreMask
Posted: Tue Mar 05, 2019 9:30 pm
HI,
I am new to devkitPro and Switch Development and I am developing Homebrew app using libnx.
What I'm suffering is multi-threading. In my app a thread seems to block other threads. I think it is due that my process uses only one CPU core. I find the function svcSetThreadCoreMask. I guess this function can control which thread uses which CPU core.
How can I use this function and make threads run parallelly?
I am new to devkitPro and Switch Development and I am developing Homebrew app using libnx.
What I'm suffering is multi-threading. In my app a thread seems to block other threads. I think it is due that my process uses only one CPU core. I find the function svcSetThreadCoreMask. I guess this function can control which thread uses which CPU core.
How can I use this function and make threads run parallelly?