diff options
Diffstat (limited to 'static/freebsd/man3/pthread_mutex_unlock.3 3.html')
| -rw-r--r-- | static/freebsd/man3/pthread_mutex_unlock.3 3.html | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/static/freebsd/man3/pthread_mutex_unlock.3 3.html b/static/freebsd/man3/pthread_mutex_unlock.3 3.html deleted file mode 100644 index 0a674813..00000000 --- a/static/freebsd/man3/pthread_mutex_unlock.3 3.html +++ /dev/null @@ -1,81 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">PTHREAD_MUTEX_UNLOCK(3)</td> - <td class="head-vol">Library Functions Manual</td> - <td class="head-rtitle">PTHREAD_MUTEX_UNLOCK(3)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">pthread_mutex_unlock</code> — - <span class="Nd">unlock a mutex</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1> -<p class="Pp"><span class="Lb">POSIX Threads Library (libpthread, - -lpthread)</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="In">#include - <<a class="In">pthread.h</a>></code></p> -<p class="Pp"><var class="Ft">int</var> - <br/> - <code class="Fn">pthread_mutex_unlock</code>(<var class="Fa" style="white-space: nowrap;">pthread_mutex_t - *mutex</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">If the current thread holds the lock on - <var class="Fa">mutex</var>, then the - <a class="permalink" href="#pthread_mutex_unlock"><code class="Fn" id="pthread_mutex_unlock">pthread_mutex_unlock</code></a>() - function unlocks <var class="Fa">mutex</var>.</p> -<p class="Pp" id="pthread_mutex_consistent">If the argument pointed by the - <var class="Fa">mutex</var> is a robust mutex in the inconsistent state, and - the call to - <a class="permalink" href="#pthread_mutex_consistent"><code class="Fn">pthread_mutex_consistent</code></a>() - function was not done prior to unlocking, further locking attempts on the - mutex <var class="Fa">mutex</var> are denied and locking functions return - <code class="Er">ENOTRECOVERABLE</code> error.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN - VALUES</a></h1> -<p class="Pp">If successful, <code class="Fn">pthread_mutex_unlock</code>() will - return zero, otherwise an error number will be returned to indicate the - error.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1> -<p class="Pp">The <code class="Fn">pthread_mutex_unlock</code>() function will - fail if:</p> -<dl class="Bl-tag"> - <dt id="EINVAL">[<a class="permalink" href="#EINVAL"><code class="Er">EINVAL</code></a>]</dt> - <dd>The value specified by <var class="Fa">mutex</var> is invalid.</dd> - <dt id="EPERM">[<a class="permalink" href="#EPERM"><code class="Er">EPERM</code></a>]</dt> - <dd>The current thread does not hold a lock on - <var class="Fa">mutex</var>.</dd> -</dl> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">pthread_mutex_destroy(3)</a>, - <a class="Xr">pthread_mutex_init(3)</a>, - <a class="Xr">pthread_mutex_lock(3)</a>, - <a class="Xr">pthread_mutex_trylock(3)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="STANDARDS"><a class="permalink" href="#STANDARDS">STANDARDS</a></h1> -<p class="Pp">The <code class="Fn">pthread_mutex_unlock</code>() function - conforms to <span class="St">ISO/IEC 9945-1:1996 - (“POSIX.1”)</span>.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">April 29, 2016</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
