mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-20 11:01:20 +03:00
* MODULES.html.sh: Add pthread, nproc. * lib/nproc.c: New file. * lib/nproc.h: New file. * lib/pthread.in.h: New file. * m4/pthread.m4: New file. * modules/nproc: New file. * modules/pthread: New file.
30 lines
509 B
Plaintext
30 lines
509 B
Plaintext
Description:
|
|
Implement a trivial subset of the pthreads library.
|
|
|
|
Files:
|
|
lib/pthread.in.h
|
|
m4/pthread.m4
|
|
|
|
Depends-on:
|
|
|
|
configure.ac:
|
|
gl_PTHREAD_CHECK
|
|
|
|
Makefile.am:
|
|
BUILT_SOURCES += $(PTHREAD_H)
|
|
|
|
# We need the following in order to create <pthread.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
pthread.h: pthread.in.h
|
|
ln -f pthread.in.h $@ || cp pthread.in.h $@
|
|
MOSTLYCLEANFILES += pthread.h
|
|
|
|
Include:
|
|
#include <pthread.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Glen Lenker and Paul Eggert
|