]> 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>
Fri, 18 Aug 2023 18:52:38 +0000 (20:52 +0200)
commitcdf0821487e02f833fadee1853918e9930901db1
tree520520bc8e1573ed02bf5438517f719cf0b9f522
parentb27b9d9bae877878c2608c8e76a97411fc7a025d
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