thread-optim: Export function-like macros only.
commit89fa3783e14acbb61ca712bd4802e716c37dbe8f
authorBruno Haible <bruno@clisp.org>
Wed, 12 Aug 2020 17:59:47 +0000 (12 19:59 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 12 Aug 2020 18:23:37 +0000 (12 20:23 +0200)
tree09cb0eb4100e023bf4060779479e5f9b3ec8b39f
parent2237f22e8b8f385f12eeac2aeb793f1eac19198b
thread-optim: Export function-like macros only.

Suggested by Paul Eggert.

* lib/thread-optim.h (gl_multithreaded): New macro.
(IF_MT_DECL, IF_MT): Remove macros.
* doc/multithread.texi (Multithreading Optimizations): Add a small
example.
* lib/fatal-signal.c: Update all uses.
* lib/clean-temp.c: Likewise.
* lib/localename.c: Likewise.
* modules/localename (Depends-on): Add stdbool.
ChangeLog
doc/multithread.texi
lib/clean-temp.c
lib/fatal-signal.c
lib/localename.c
lib/thread-optim.h
modules/localename