Hello! I noticed with the latest devkitARM update (r60-9) that newlib was updated to 4.3.0 and there appears to be a full pthread API included as part of devkitPro/buildscripts@cd5e224
As far as I can tell, the syscalls used by the pthread implementation are not actually implemented anywhere, so none of the pthread_* functions actually work, which is fine - however, it does seem like on the 3DS it would be possible to implement some of the functionality using libctru calls and get a mostly-working pthread implementation.
In light of this, I had a few questions about the new changes and any future plans for them:
- Is there an intention to support
pthreads on the 3DS?
- If so, would the syscalls be implemented in
libctru or perhaps somewhere else? Are the maintainers looking for help implementing this?
- If not, is this a supported scenario (for users that are willing to write syscalls themselves)?
- Will the patch linked above eventually be delivered to the
devkitARM branch of this repo? If not, is there somewhere else it lives that can be used for reference, besides just the buildscripts 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.
Hello! I noticed with the latest
devkitARMupdate (r60-9) thatnewlibwas updated to 4.3.0 and there appears to be a fullpthreadAPI included as part of devkitPro/buildscripts@cd5e224As far as I can tell, the syscalls used by the
pthreadimplementation 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 usinglibctrucalls and get a mostly-workingpthreadimplementation.In light of this, I had a few questions about the new changes and any future plans for them:
pthreads on the 3DS?libctruor perhaps somewhere else? Are the maintainers looking for help implementing this?devkitARMbranch of this repo? If not, is there somewhere else it lives that can be used for reference, besides just thebuildscriptsrepo 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.