Hash :
4cc93d22
Author :
Date :
2009-03-25T13:01:24
New modules nproc, pthread. * 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.
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