summaryrefslogtreecommitdiffstats
path: root/crypto/async/async_locl.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-02 16:15:52 +0000
committerMatt Caswell <matt@openssl.org>2016-03-02 17:23:42 +0000
commit224905f8aaeac7fd81a49dc160a843c5fff60e6e (patch)
tree8242952f73c72a9f234beaf3f69ce1159a542f41 /crypto/async/async_locl.h
parent0c452abc162d348876e136979230a06d0d83641b (diff)
Convert ASYNC code to use new Thread API
The async code uses thread local variables. We should convert to using the new Thread API for doing this. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/async/async_locl.h')
-rw-r--r--crypto/async/async_locl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/async/async_locl.h b/crypto/async/async_locl.h
index 4caf16db2c..7fa1f26c00 100644
--- a/crypto/async/async_locl.h
+++ b/crypto/async/async_locl.h
@@ -108,10 +108,9 @@ struct async_pool_st {
size_t max_size;
};
-int async_global_init(void);
void async_local_cleanup(void);
-void async_global_cleanup(void);
void async_start_func(void);
+async_ctx *async_get_ctx(void);
void async_wait_ctx_reset_counts(ASYNC_WAIT_CTX *ctx);