git: 8f86c1082197 - main - libthr: restore _pthread_cond_timedwait
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Mar 2024 21:03:37 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=8f86c108219779337905c871312d85aab9322ff3
commit 8f86c108219779337905c871312d85aab9322ff3
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-03-12 21:01:47 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-03-12 21:03:14 +0000
libthr: restore _pthread_cond_timedwait
The function was renamed to _thr_cond_timedwait in commit 0ab1bfc7b28f
and for some reason did not get the same __weak_reference treatment as
other _pthread_cond symbols.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44244
---
lib/libthr/thread/thr_cond.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libthr/thread/thr_cond.c b/lib/libthr/thread/thr_cond.c
index c1cbd546350e..0eb3dac068ca 100644
--- a/lib/libthr/thread/thr_cond.c
+++ b/lib/libthr/thread/thr_cond.c
@@ -63,6 +63,7 @@ __weak_reference(__thr_cond_wait, pthread_cond_wait);
__weak_reference(__thr_cond_wait, __pthread_cond_wait);
__weak_reference(_thr_cond_wait, _pthread_cond_wait);
__weak_reference(__pthread_cond_timedwait, pthread_cond_timedwait);
+__weak_reference(_thr_cond_timedwait, _pthread_cond_timedwait);
__weak_reference(_thr_cond_init, pthread_cond_init);
__weak_reference(_thr_cond_init, _pthread_cond_init);
__weak_reference(_thr_cond_destroy, pthread_cond_destroy);