OSSL_get_max_threads

Return the current maximum thread-pool size configured for a library context.

Synopsis

Declared in <openssl/thread.h>

uint64_t
OSSL_get_max_threads(OSSL_LIB_CTX* ctx);

Return Value

Configured maximum threads, or 0 if pooling is disabled or unavailable.

Parameters

NameDescription
ctxLibrary context to query, or NULL for the default.