Compare two CRYPTO_THREAD_ID values for equality.

Synopsis

Declared in <openssl/crypto.h>

int
CRYPTO_THREAD_compare_id(
    CRYPTO_THREAD_ID a,
    CRYPTO_THREAD_ID b);

Return Value

1 if a and b identify the same thread, or 0 otherwise.

Parameters

Name

Description

a

First thread id.

b

Second thread id.

Created with MrDocs