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

Name

Description

max_size

Maximum stack pool size in bytes for ASYNC jobs (0 for the default).

init_size

Initial stack pool size in bytes (0 for the default); must be <= max_size.

Created with MrDocs