'\" t .\" Title: mutex_init .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Mutex API reference .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "MUTEX_INIT" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Mutex API reference" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mutex_init \- initialize the mutex .SH "SYNOPSIS" .HP \w'mutex_init('u .BI "mutex_init(" "mutex" ");" .SH "ARGUMENTS" .PP \fI mutex\fR .RS 4 the mutex to be initialized .RE .SH "DESCRIPTION" .PP Initialize the mutex to unlocked state\&. .PP It is not allowed to initialize an already locked mutex\&. .SH "AUTHOR" .PP \fBRusty Russell\fR <\&rusty@rustcorp.com.au\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br