| 78 | } |
| 79 | |
| 80 | static inline int rwlock_timedrdlock(bthread_rwlock_t* __restrict rwlock, |
| 81 | const struct timespec* __restrict abstime) { |
| 82 | return rwlock_rdlock_impl(rwlock, abstime); |
| 83 | } |
| 84 | |
| 85 | // Returns 0 if the lock was acquired, otherwise errno. |
| 86 | static inline int rwlock_tryrdlock(bthread_rwlock_t* rwlock) { |
no test coverage detected