| 1247 | } |
| 1248 | |
| 1249 | int bthread_mutex_timedlock(bthread_mutex_t* __restrict m, |
| 1250 | const struct timespec* __restrict abstime) { |
| 1251 | return bthread_mutex_lock_impl(m, abstime); |
| 1252 | } |
| 1253 | |
| 1254 | int bthread_mutex_unlock(bthread_mutex_t* m) { |
| 1255 | auto whole = (butil::atomic<unsigned>*)m->butex; |