unigbrk.in.h: Fix typo: "ben" => "been".
[gnulib.git] / modules / pthread
1 Description:
2 Implement a trivial subset of the pthreads library.
3
4 Files:
5 lib/pthread.in.h
6 m4/pthread.m4
7
8 Depends-on:
9 sched
10 time
11
12 configure.ac:
13 gl_PTHREAD_CHECK
14
15 Makefile.am:
16 BUILT_SOURCES += $(PTHREAD_H)
17
18 # We need the following in order to create <pthread.h> when the system
19 # doesn't have one that works with the given compiler.
20 pthread.h: pthread.in.h
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \
24               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
27               -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \
28               -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \
29               -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \
30               < $(srcdir)/pthread.in.h; \
31         } > $@-t && \
32         mv $@-t $@
33 MOSTLYCLEANFILES += pthread.h pthread.h-t
34
35 Include:
36 <pthread.h>
37
38 Link:
39 $(LIB_PTHREAD)
40
41 License:
42 LGPLv2+
43
44 Maintainer:
45 Glen Lenker and Paul Eggert