summaryrefslogtreecommitdiffstats
path: root/crypto/async/async_locl.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-11-19 21:44:13 +0000
committerMatt Caswell <matt@openssl.org>2015-11-20 23:40:23 +0000
commit22a34c2fab39c38cac4a22a0e15ab9a1fd98f57c (patch)
tree5ce684a33431d24bd40a4d2a50b7ca592f08a8e0 /crypto/async/async_locl.h
parent68487a9b0631d27be9a1f4565e7e652ae9cb6aad (diff)
Implement windows async thread local variable support
Implements Thread Local Storage in the windows async port. This also has some knock on effects to the posix and null implementations. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/async/async_locl.h')
-rw-r--r--crypto/async/async_locl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/async/async_locl.h b/crypto/async/async_locl.h
index 0a9c59fcfb..a463bf1c22 100644
--- a/crypto/async/async_locl.h
+++ b/crypto/async/async_locl.h
@@ -86,7 +86,10 @@ struct async_pool_st {
size_t max_size;
};
-int async_thread_local_init(void);
+int async_global_init(void);
+int async_local_init(void);
+void async_local_cleanup(void);
+void async_global_cleanup(void);
void async_start_func(void);
int async_pipe(OSSL_ASYNC_FD *pipefds);
int async_close_fd(OSSL_ASYNC_FD fd);