On Thu Jan 11 13:37:27 2024 +0000, Giovanni Mascellani wrote:
`pthread_mutex_trylock()` exists. Technically you have to check for `EBUSY` though.
Oops, I wanted to use trylock() here. But still, I didn't test the Linux build codepath beyond checking that it compiles (and compiles without printf format warnings).