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

Fix some bugs breaking Tokio #6

Closed AzureMarker closed 2 years ago

AzureMarker commented 2 years ago

See the commit messages for the fine details. Overall this fixes a deadlock in pthread keys and a few bugs in pthread_cond_timedwait. These bugs were breaking https://github.com/Meziu/ctru-rs/pull/42.