summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-11-12 10:42:08 +0000
committerMatt Caswell <matt@openssl.org>2015-11-20 23:37:17 +0000
commite8dfb5bf8e525c9799820d01b2df5fde098a9c4c (patch)
tree3f8dc36c25a36b3bf07d55cea8cccdd2a993b716 /util
parentf4511d4897f56a18a2a681e2ade8063658ff2cbb (diff)
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>
Diffstat (limited to 'util')
-rwxr-xr-xutil/libeay.num2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libeay.num b/util/libeay.num
index 06816fc1f3..3dc21373c1 100755
--- a/util/libeay.num
+++ b/util/libeay.num
@@ -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: