sema.9 (84450) | sema.9 (88509) |
---|---|
1.\" 2.\" Copyright (C) 2001 Jason Evans <jasone@FreeBSD.org>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" | 1.\" 2.\" Copyright (C) 2001 Jason Evans <jasone@FreeBSD.org>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" |
27.\" $FreeBSD: head/share/man/man9/sema.9 84450 2001-10-04 08:59:53Z bde $ | 27.\" $FreeBSD: head/share/man/man9/sema.9 88509 2001-12-26 23:14:04Z davidc $ |
28.\" 29.Dd August 13, 2001 30.Dt SEMA 9 31.Os 32.Sh NAME 33.Nm sema , 34.Nm sema_init , 35.Nm sema_destroy , 36.Nm sema_post , 37.Nm sema_wait , 38.Nm sema_timedwait , 39.Nm sema_trywait , 40.Nm sema_value 41.Nd kernel counting semaphore 42.Sh SYNOPSIS 43.In sys/types.h | 28.\" 29.Dd August 13, 2001 30.Dt SEMA 9 31.Os 32.Sh NAME 33.Nm sema , 34.Nm sema_init , 35.Nm sema_destroy , 36.Nm sema_post , 37.Nm sema_wait , 38.Nm sema_timedwait , 39.Nm sema_trywait , 40.Nm sema_value 41.Nd kernel counting semaphore 42.Sh SYNOPSIS 43.In sys/types.h |
44.In sys/lock.h |
|
44.In sys/sema.h 45.Ft void 46.Fn sema_init "struct sema *sema" "int value" "const char *description" 47.Ft void 48.Fn sema_destroy "struct sema *sema" 49.Ft void 50.Fn sema_post "struct sema *sema" 51.Ft void --- 59 unchanged lines hidden --- | 45.In sys/sema.h 46.Ft void 47.Fn sema_init "struct sema *sema" "int value" "const char *description" 48.Ft void 49.Fn sema_destroy "struct sema *sema" 50.Ft void 51.Fn sema_post "struct sema *sema" 52.Ft void --- 59 unchanged lines hidden --- |