-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New pthread APIs in devkitARM / 3DS ? #26
Comments
Shush. You weren't supposed to notice that yet :P There is an intention to support pthreads on 3DS and, yes that support will be in libctru. We're not really looking for help with the implementation tbh but if you need something in particular we're generally willing to listen. The devkitARM branch has now been deleted after quite a bit of work to consolidate the devkitA64 and devkitARM patchsets while updating to latest newlib snapshot in order to ease future maintenance and work towards feature parity. These changes now live at https://github.com/devkitPro/newlib/tree/devkitPro |
Awesome, that's great news to hear, thank you!
I think the only thing that came to mind when I first started looking at the implementation was that it would be nice to have some way to set CPU affinity / priority at thread creation time. It looks like It would be great if we were able to use APIs like Clearly this is still under active development so I'll try not to get ahead of myself, but thank you for your work and I look forward to seeing further development on this front! 🚀 |
Hello! I noticed with the latest
devkitARM
update (r60-9) thatnewlib
was updated to 4.3.0 and there appears to be a fullpthread
API included as part of devkitPro/buildscripts@cd5e224As far as I can tell, the syscalls used by the
pthread
implementation are not actually implemented anywhere, so none of thepthread_*
functions actually work, which is fine - however, it does seem like on the 3DS it would be possible to implement some of the functionality usinglibctru
calls and get a mostly-workingpthread
implementation.In light of this, I had a few questions about the new changes and any future plans for them:
pthread
s on the 3DS?libctru
or perhaps somewhere else? Are the maintainers looking for help implementing this?devkitARM
branch of this repo? If not, is there somewhere else it lives that can be used for reference, besides just thebuildscripts
repo as a big diff?Thanks in advance! I was excited to see these changes pulled down when I upgraded, but I wanted to set my expectations and see what, if any plans you all had for these APIs.
The text was updated successfully, but these errors were encountered: