-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
Some context: #44
- Pros
- Keeps us up-to-date with std.
- 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.
- 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).
Metadata
Metadata
Assignees
Labels
No labels