diff options
| author | Ryan Libby <rlibby@FreeBSD.org> | 2024-06-24 17:05:58 +0000 |
|---|---|---|
| committer | Ryan Libby <rlibby@FreeBSD.org> | 2024-06-24 17:05:58 +0000 |
| commit | 012e32c66529ba74a80b7a02da6c983d5a2c2f70 (patch) | |
| tree | a71959e26dd16f6e2df178bbfc56617af7e9cdd2 /lib/libthr/thread | |
| parent | eae1767d8fa424262e4ef095e5fc12968dbfe054 (diff) | |
Diffstat (limited to 'lib/libthr/thread')
| -rw-r--r-- | lib/libthr/thread/thr_rwlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_rwlock.c b/lib/libthr/thread/thr_rwlock.c index b482dc8b732a..084181ba922a 100644 --- a/lib/libthr/thread/thr_rwlock.c +++ b/lib/libthr/thread/thr_rwlock.c @@ -59,7 +59,7 @@ __weak_reference(_pthread_rwlock_timedwrlock, pthread_rwlock_timedwrlock); static int init_static(struct pthread *thread, pthread_rwlock_t *rwlock); static int init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out); -static int __always_inline +static __always_inline int check_and_init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) { if (__predict_false(*rwlock == THR_PSHARED_PTR || |
