CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
296 stars 187 forks source link

compat: fix `pthread_mutex_timedlock` #1421

Closed jktjkt closed 1 year ago

jktjkt commented 1 year ago

compat: return ETIMEDOUT when timing out

refactor: compat: simplify waiting

This code looked a bit fishy:

jktjkt commented 1 year ago

I accidentally left this one marked as a draft; you can merge it now (and please also https://github.com/CESNET/libnetconf2/pull/424).