head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.01.50.01;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2011.12.26.21.51.53;	author ed;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/lib/libstdthreads/Makefile 228904 2011-12-26 21:51:53Z ed $

LIB=	stdthreads
SHLIB_MAJOR= 0

INCS=	threads.h
SRCS=	threads.h call_once.c cnd.c mtx.c thrd.c tss.c

MAN=	thrd_create.3
MLINKS=	thrd_create.3 call_once.3 \
	thrd_create.3 cnd_broadcast.3 \
	thrd_create.3 cnd_destroy.3 \
	thrd_create.3 cnd_init.3 \
	thrd_create.3 cnd_signal.3 \
	thrd_create.3 cnd_timedwait.3 \
	thrd_create.3 cnd_wait.3 \
	thrd_create.3 mtx_destroy.3 \
	thrd_create.3 mtx_init.3 \
	thrd_create.3 mtx_lock.3 \
	thrd_create.3 mtx_timedlock.3 \
	thrd_create.3 mtx_trylock.3 \
	thrd_create.3 mtx_unlock.3 \
	thrd_create.3 thrd_current.3 \
	thrd_create.3 thrd_detach.3 \
	thrd_create.3 thrd_equal.3 \
	thrd_create.3 thrd_exit.3 \
	thrd_create.3 thrd_join.3 \
	thrd_create.3 thrd_sleep.3 \
	thrd_create.3 thrd_yield.3 \
	thrd_create.3 tss_create.3 \
	thrd_create.3 tss_delete.3 \
	thrd_create.3 tss_get.3 \
	thrd_create.3 tss_set.3

DPADD=	${LIBPTHREAD}
LDADD=	-lpthread

VERSION_DEF= ${.CURDIR}/../libc/Versions.def
SYMBOL_MAPS= ${.CURDIR}/Symbol.map

.include <bsd.lib.mk>
@


1.1
log
@SVN rev 228904 on 2011-12-26 21:51:53Z by ed

Add libstdthreads.

This library implements the C11 threads interface on top of the pthreads
library.  As discussed on the lists, the preferred way to implement
this, is as a separate library.

It is unlikely that these functions will be used a lot in the future. It
would have been easier if the C11 working group standardized (a subset
of) pthreads and clock_nanosleep(). Having it as a separate library
allows the embedded people to omit it from their system.

Discussed on:	arch@@, threads@@
@
text
@d1 1
a1 1
# $FreeBSD$
@

