You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not duplicating code. We could define an extension trait for 3ds specific data like affinity.
Other code can still use std threads (though we should generally avoid this since the 3ds CPU works differently).
Cons
This allows 3rd party code to use threads, which might break since the default core is not preemptive (and we only get one thread on the preemptive system core).
TODO: if it's not preemptive, what is priority used for? Research how the application core scheduler works.
We can't directly link std to libctru. So we'd need to pass the extra data (ex. affinity) through pthread or something.
Some context: #44