view modules/pthread @ 13415:a884db63982b

Avoid some more warnings from "gcc -Wwrite-strings".
author Bruno Haible <bruno@clisp.org>
date Fri, 11 Jun 2010 21:17:11 +0200
parents f8e15562bd4b
children b3e78c51aab6
line wrap: on
line source

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:
<pthread.h>

Link:
$(LIB_PTHREAD)

License:
LGPLv2+

Maintainer:
Glen Lenker and Paul Eggert