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

Add pthread_condattr functions #16

Closed ian-h-chamberlain closed 2 years ago

ian-h-chamberlain commented 2 years ago

These, plus libc definitions, should allow us to compile bevy_ecs, which seems like it would be really cool for development on the 3DS!

Best I can tell, there is no way to control the clock behavior of condvars using libctru - so, simply fail if the user tries to set anything other than CLOCK_REALTIME.

Will open a corresponding libc PR shortly.

@AzureMarker @Meziu