[#CRYPTO_THREAD_compare_id]
= CRYPTO&lowbar;THREAD&lowbar;compare&lowbar;id
:mrdocs:

Compare two CRYPTO&lowbar;THREAD&lowbar;ID values for equality&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CRYPTO&lowbar;THREAD&lowbar;compare&lowbar;id(
    xref:CRYPTO_THREAD_ID.adoc[CRYPTO&lowbar;THREAD&lowbar;ID] a,
    xref:CRYPTO_THREAD_ID.adoc[CRYPTO&lowbar;THREAD&lowbar;ID] b);
----

== Return Value

1 if `a` and `b` identify the same thread, or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| First thread id&period;
| *b*
| Second thread id&period;
|===


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