Add ASYNC_block_pause and ASYNC_unblock_pause
There are potential deadlock situations that can occur if code executing within the context of a job aquires a lock, and then pauses the job. This adds an ability to temporarily block pauses from occuring whilst performing work and holding a lock. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
@@ -4659,3 +4659,5 @@ ASYNC_clear_wake 5018 EXIST::FUNCTION:
|
||||
ASYNC_get_current_job 5019 EXIST::FUNCTION:
|
||||
ASYNC_get_wait_fd 5020 EXIST::FUNCTION:
|
||||
ERR_load_ASYNC_strings 5021 EXIST::FUNCTION:
|
||||
ASYNC_unblock_pause 5022 EXIST::FUNCTION:
|
||||
ASYNC_block_pause 5023 EXIST::FUNCTION:
|
||||
|
Reference in New Issue
Block a user