]> Savannah Git Hosting - gnulib.git/commit
thrd: On AIX 7.1 and 7.2, override also thrd_exit.
authorBruno Haible <bruno@clisp.org>
Fri, 18 Aug 2023 18:52:08 +0000 (20:52 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 30 Aug 2023 09:46:29 +0000 (11:46 +0200)
commit0fea5abdd128ded15898762dd00b38cbb3ab0a1d
treefba4a72f901022430a9fa666f55a49fadab12328
parentbe73606d8580e2efdf22e08b656c5314b39c8542
thrd: On AIX 7.1 and 7.2, override also thrd_exit.

* lib/threads.in.h (thrd_exit): Consider REPLACE_THRD_EXIT.
* lib/thrd.c (rpl_thrd_exit): New function.
* m4/threads_h.m4 (gl_THREADS_H_DEFAULTS): Initialize REPLACE_THRD_EXIT.
* m4/thrd.m4 (gl_FUNC_THRD_JOIN): Set also REPLACE_THRD_EXIT and adjust
LIBSTDTHREAD.
* modules/threads-h (Makefile.am): Substitute REPLACE_THRD_EXIT.
* doc/posix-functions/thrd_exit.texi: Mention the AIX thrd_join problem
also here.
ChangeLog
doc/posix-functions/thrd_exit.texi
lib/thrd.c
lib/threads.in.h
m4/thrd.m4
m4/threads_h.m4
modules/threads-h