Meziu / rust-horizon

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
3 stars 1 forks source link

Use the right wait_timeout implementation #8

Closed AzureMarker closed 2 years ago

AzureMarker commented 2 years ago

Our condvar doesn't support setting attributes, like pthread_condattr_setclock, which the current wait_timeout expects to have configured.

Switch to a different implementation, following espidf.

Unfortunately this doesn't fix the tokio example, but it does stop the release build's runtime thread from panicking (still doesn't print "Tick").