mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
6c689e58f7
Since the default libctx is now stored in a thread local variable swapping in and out of fibres in the ASYNC code could mean that the "current" default libctx can get confused. Therefore we ensure that everytime we call async_fibre_swapcontext() we always restore the default libctx to whatever it was the last time the fibre ran. Similarly when async_fibre_swapcontext() returns we need to restore the current thread's default libctx. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12228) |
||
---|---|---|
.. | ||
arch | ||
async_err.c | ||
async_local.h | ||
async_wait.c | ||
async.c | ||
build.info |