rust3ds / pthread-3ds

PThread implementation for Nintendo 3DS Horizon OS targets. Keep in mind that Horizon OS uses a cooperative, and not preemptive, threading model.
Apache License 2.0
12 stars 7 forks source link

Implement TLS destructors #29

Closed Meziu closed 4 months ago

Meziu commented 4 months ago

Closes #19

Reopening of #28 after a fluke... Starting discussion from this comment.

This is ready to be merged!

Meziu commented 4 months ago

Finally fixed! Turns out it was just an issue with reentrancy I had overlooked from the standard pthread implementations. Thanks to the help I got on Zulip :sweat_smile:. This is finally working!