xref: /freebsd/lib/libthr/libthr.3 (revision 886659fe1484d5068522d2ea20bb447deb418393)
15335c6bcSRobert Watson.\" Copyright (c) 2005 Robert N. M. Watson
25335c6bcSRobert Watson.\" All rights reserved.
35335c6bcSRobert Watson.\"
45335c6bcSRobert Watson.\" Redistribution and use in source and binary forms, with or without
55335c6bcSRobert Watson.\" modification, are permitted provided that the following conditions
65335c6bcSRobert Watson.\" are met:
75335c6bcSRobert Watson.\" 1. Redistributions of source code must retain the above copyright
85335c6bcSRobert Watson.\"    notice, this list of conditions and the following disclaimer.
95335c6bcSRobert Watson.\" 2. Redistributions in binary form must reproduce the above copyright
105335c6bcSRobert Watson.\"    notice, this list of conditions and the following disclaimer in the
115335c6bcSRobert Watson.\"    documentation and/or other materials provided with the distribution.
125335c6bcSRobert Watson.\"
135335c6bcSRobert Watson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
145335c6bcSRobert Watson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
155335c6bcSRobert Watson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
165335c6bcSRobert Watson.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
175335c6bcSRobert Watson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
185335c6bcSRobert Watson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
195335c6bcSRobert Watson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
205335c6bcSRobert Watson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
215335c6bcSRobert Watson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
225335c6bcSRobert Watson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
235335c6bcSRobert Watson.\" SUCH DAMAGE.
245335c6bcSRobert Watson.\"
255335c6bcSRobert Watson.\" $FreeBSD$
265335c6bcSRobert Watson.\"
27886659feSRuslan Ermilov.Dd October 19, 2007
285335c6bcSRobert Watson.Os
295335c6bcSRobert Watson.Dt LIBTHR 3
305335c6bcSRobert Watson.Sh NAME
315335c6bcSRobert Watson.Nm libthr
32886659feSRuslan Ermilov.Nd "1:1 POSIX threads library"
335335c6bcSRobert Watson.Sh LIBRARY
345335c6bcSRobert Watson.Lb libthr
355335c6bcSRobert Watson.Sh SYNOPSIS
365335c6bcSRobert Watson.In pthread.h
375335c6bcSRobert Watson.Sh DESCRIPTION
385335c6bcSRobert WatsonThe
395335c6bcSRobert Watson.Nm
40886659feSRuslan Ermilovlibrary provides a 1:1 implementation of the
415335c6bcSRobert Watson.Xr pthread 3
425335c6bcSRobert Watsonlibrary interfaces for application threading.
43886659feSRuslan ErmilovIt
445335c6bcSRobert Watsonhas been optimized for use by applications expecting system scope thread
45886659feSRuslan Ermilovsemantics, and can provide significant performance improvements
46886659feSRuslan Ermilovcompared to
47886659feSRuslan Ermilov.Lb libkse .
485335c6bcSRobert Watson.Sh SEE ALSO
4948856b00SRuslan Ermilov.Xr pthread 3
505335c6bcSRobert Watson.Sh AUTHORS
515335c6bcSRobert Watson.An -nosplit
5248856b00SRuslan ErmilovThe
535335c6bcSRobert Watson.Nm
5448856b00SRuslan Ermilovlibrary
555335c6bcSRobert Watsonwas originally created by
565335c6bcSRobert Watson.An "Jeff Roberson" Aq jeff@FreeBSD.org ,
575335c6bcSRobert Watsonand enhanced by
585335c6bcSRobert Watson.An "Jonathan Mini" Aq mini@FreeBSD.org
595335c6bcSRobert Watsonand
605335c6bcSRobert Watson.An "Mike Makonnen" Aq mtm@FreeBSD.org .
615335c6bcSRobert WatsonIt has been substantially rewritten and optimized by
625335c6bcSRobert Watson.An "David Xu" Aq davidxu@FreeBSD.org .
63