Initialise per-thread asynchronous job support for the current thread.
Declared in <openssl/async.h>
int
ASYNC_init_thread(
size_t max_size,
size_t init_size);
1 on success, or 0 on failure.
| 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. |