[#CRYPTO_THREAD_unlock]
= CRYPTO&lowbar;THREAD&lowbar;unlock
:mrdocs:

Release a previously acquired read or write lock on a CRYPTO&lowbar;RWLOCK&period;

== Synopsis

Declared in `&lt;openssl&sol;crypto&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CRYPTO&lowbar;THREAD&lowbar;unlock(xref:CRYPTO_RWLOCK.adoc[CRYPTO&lowbar;RWLOCK]* lock);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lock*
| Lock to unlock&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
