ASYNC_init_thread

Initialise per-thread asynchronous job support for the current thread.

Synopsis

Declared in <openssl/async.h>

int
ASYNC_init_thread(
    size_t max_size,
    size_t init_size);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
max_sizeMaximum stack pool size in bytes for ASYNC jobs (0 for the default).
init_sizeInitial stack pool size in bytes (0 for the default); must be <= max_size.