]> 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 10:13:56 +0000 (12:13 +0200)
commit2633039e2df0b81db4868a7758c032450648a478
tree105abb22a693f17aca307f4ee99ce2b26311a6b3
parentbae04c84b7ca3bb9403c116446d03dc16f9eee63
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