Commit 68487a9b authored by Matt Caswell's avatar Matt Caswell
Browse files

Convert __thread to pthreads for Thread Local Storage



In theory the pthreads approach for Thread Local Storage should be more
portable.

This also changes some APIs in order to accommodate this change. In
particular ASYNC_init_pool is renamed ASYNC_init_thread and
ASYNC_free_pool is renamed ASYNC_cleanup_thread. Also introduced ASYNC_init
and ASYNC_cleanup.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 27949c35
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment