sem_destroy.3 (57bd0fc6e89b888516b6a64206715bef500fc2d1) | sem_destroy.3 (51f2ddd7af07ee09e4491db48435add85c117b4c) |
---|---|
1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>. 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(s), this list of conditions and the following disclaimer as --- 49 unchanged lines hidden (view full) --- 58.Fa sem 59points to an invalid semaphore. 60.It Bq Er EBUSY 61There are currently threads blocked on the semaphore that 62.Fa sem 63points to. 64.El 65.Sh SEE ALSO | 1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>. 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(s), this list of conditions and the following disclaimer as --- 49 unchanged lines hidden (view full) --- 58.Fa sem 59points to an invalid semaphore. 60.It Bq Er EBUSY 61There are currently threads blocked on the semaphore that 62.Fa sem 63points to. 64.El 65.Sh SEE ALSO |
66.Xr sem_init 3 | 66.Xr sem_init 3 , 67.Xr sem 4 |
67.Sh STANDARDS 68.Fn sem_destroy 69conforms to 70.St -p1003.1-96 . 71.Pp 72POSIX does not define the behavior of 73.Fn sem_destroy 74if called while there are threads blocked on 75.Fa sem , 76but this implementation is guaranteed to return -1 and set 77.Va errno 78to 79.Er EBUSY 80if there are threads blocked on 81.Fa sem . | 68.Sh STANDARDS 69.Fn sem_destroy 70conforms to 71.St -p1003.1-96 . 72.Pp 73POSIX does not define the behavior of 74.Fn sem_destroy 75if called while there are threads blocked on 76.Fa sem , 77but this implementation is guaranteed to return -1 and set 78.Va errno 79to 80.Er EBUSY 81if there are threads blocked on 82.Fa sem . |