lck_mtx_free()/lck_mtx_destroy()

Pavan Reddy <[email protected]> Fri, 3 Feb 2006 18:32:25 -0800
Newsgroups gmane.os.opendarwin.general
Message-ID <[email protected]>
--===============0359518230==
Content-Type: multipart/alternative; 
	boundary="----=_Part_10851_5351569.1139020345097"

------=_Part_10851_5351569.1139020345097
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
       I am trying to find the difference in the calls lck_mtx_free( )  &
lck_mtx_destroy( ).

After reading some documentation I understood this

lck_mtx_alloc_init() ----> Mutex initialization.
lck_mtx_lock()  ----> Lock
lck_mtx_unlock() --> Unlock.
lck_mtx_free() ----> Frees memory created by lck_mtx_alloc_init() --> ?????
lck_mtx_destroy() ----> ??????

Can you please let me know what are the functionalities of the last two
calls?

One more thing, are there any man pages for the Kernel calls available
online?

Regards,
Pavan

------=_Part_10851_5351569.1139020345097
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am trying to find the difference
in the calls lck_mtx_free( )&nbsp; &amp;&nbsp; lck_mtx_destroy( ). <br>
<br>
After reading some documentation I understood this<br>
<br>
lck_mtx_alloc_init() ----&gt; Mutex initialization.<br>
lck_mtx_lock()&nbsp; ----&gt; Lock<br>
lck_mtx_unlock() --&gt; Unlock.<br>
lck_mtx_free() ----&gt; Frees memory created by lck_mtx_alloc_init() --&gt;=
 ?????<br>
lck_mtx_destroy() ----&gt; ??????<br>
<br>
Can you please let me know what are the functionalities of the last two cal=
ls?<br>
<br>
One more thing, are there any man pages for the Kernel calls available onli=
ne?<br>
<br>
Regards,<br>
Pavan<br>
<br>

------=_Part_10851_5351569.1139020345097--

--===============0359518230==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline