[#OSSL_get_max_threads]
= OSSL&lowbar;get&lowbar;max&lowbar;threads
:mrdocs:

Return the current maximum thread&hyphen;pool size configured for a library context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint64&lowbar;t
OSSL&lowbar;get&lowbar;max&lowbar;threads(xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* ctx);
----

== Return Value

Configured maximum threads, or 0 if pooling is disabled or unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Library context to query, or NULL for the default&period;
|===


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