pthread_cond_timedwait.3 (207816) | pthread_cond_timedwait.3 (233648) |
---|---|
1.\" Copyright (c) 1997 Brian Cully <shmit@kublai.com> 2.\" 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, this list of conditions and the following disclaimer. --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" | 1.\" Copyright (c) 1997 Brian Cully <shmit@kublai.com> 2.\" 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, this list of conditions and the following disclaimer. --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" |
28.\" $FreeBSD: head/share/man/man3/pthread_cond_timedwait.3 207816 2010-05-09 14:21:34Z jilles $ | 28.\" $FreeBSD: head/share/man/man3/pthread_cond_timedwait.3 233648 2012-03-29 05:02:12Z eadler $ |
29.\" 30.Dd May 9, 2010 31.Dt PTHREAD_COND_TIMEDWAIT 3 32.Os 33.Sh NAME 34.Nm pthread_cond_timedwait 35.Nd "wait on a condition variable for a specific amount of time" 36.Sh LIBRARY --- 41 unchanged lines hidden (view full) --- 78.Fa mutex 79or 80.Fa abstime 81is invalid. 82.It Bq Er ETIMEDOUT 83The system time has reached or exceeded the time specified in 84.Fa abstime . 85.It Bq Er EPERM | 29.\" 30.Dd May 9, 2010 31.Dt PTHREAD_COND_TIMEDWAIT 3 32.Os 33.Sh NAME 34.Nm pthread_cond_timedwait 35.Nd "wait on a condition variable for a specific amount of time" 36.Sh LIBRARY --- 41 unchanged lines hidden (view full) --- 78.Fa mutex 79or 80.Fa abstime 81is invalid. 82.It Bq Er ETIMEDOUT 83The system time has reached or exceeded the time specified in 84.Fa abstime . 85.It Bq Er EPERM |
86The specified 87.Fa mutex | 86The specified 87.Fa mutex |
88was not locked by the calling thread. 89.El 90.Sh SEE ALSO 91.Xr pthread_cond_broadcast 3 , 92.Xr pthread_cond_destroy 3 , 93.Xr pthread_cond_init 3 , 94.Xr pthread_cond_signal 3 , 95.Xr pthread_cond_wait 3 , 96.Xr pthread_condattr_setclock 3 97.Sh STANDARDS 98The 99.Fn pthread_cond_timedwait 100function conforms to 101.St -p1003.1-96 . | 88was not locked by the calling thread. 89.El 90.Sh SEE ALSO 91.Xr pthread_cond_broadcast 3 , 92.Xr pthread_cond_destroy 3 , 93.Xr pthread_cond_init 3 , 94.Xr pthread_cond_signal 3 , 95.Xr pthread_cond_wait 3 , 96.Xr pthread_condattr_setclock 3 97.Sh STANDARDS 98The 99.Fn pthread_cond_timedwait 100function conforms to 101.St -p1003.1-96 . |