2 An ISO C 11 compatible <threads.h>.
9 lib/windows-timedmutex.h
10 lib/windows-timedrecmutex.h
14 lib/windows-initguard.h
17 build-aux/config.rpath
32 AC_REQUIRE([gl_THREADS_H])
35 BUILT_SOURCES += threads.h
37 # We need the following in order to create <threads.h> when the system
39 threads.h: threads.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
40 $(AM_V_GEN)rm -f $@-t $@ && \
41 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
42 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
43 -e 's|@''HAVE_THREADS_H''@|$(HAVE_THREADS_H)|g' \
44 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
45 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
46 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
47 -e 's|@''NEXT_THREADS_H''@|$(NEXT_THREADS_H)|g' \
48 -e 's/@''GNULIB_CND''@/$(GNULIB_CND)/g' \
49 -e 's/@''GNULIB_MTX''@/$(GNULIB_MTX)/g' \
50 -e 's/@''GNULIB_THRD''@/$(GNULIB_THRD)/g' \
51 -e 's/@''GNULIB_TSS''@/$(GNULIB_TSS)/g' \
52 -e 's|@''HAVE_THREAD_LOCAL''@|$(HAVE_THREAD_LOCAL)|g' \
53 -e 's|@''BROKEN_THRD_START_T''@|$(BROKEN_THRD_START_T)|g' \
54 -e 's|@''REPLACE_THRD_CREATE''@|$(REPLACE_THRD_CREATE)|g' \
55 -e 's|@''REPLACE_THRD_CURRENT''@|$(REPLACE_THRD_CURRENT)|g' \
56 -e 's|@''REPLACE_THRD_DETACH''@|$(REPLACE_THRD_DETACH)|g' \
57 -e 's|@''REPLACE_THRD_EQUAL''@|$(REPLACE_THRD_EQUAL)|g' \
58 -e 's|@''REPLACE_THRD_JOIN''@|$(REPLACE_THRD_JOIN)|g' \
59 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
60 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
61 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
62 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
63 < $(srcdir)/threads.in.h; \
66 MOSTLYCLEANFILES += threads.h threads.h-t
72 $(LIBTHREADLOCAL) if you use the thread_local macro