summaryrefslogtreecommitdiffstats
path: root/crypto/async/arch/async_null.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-11-13 15:21:20 +0000
committerMatt Caswell <matt@openssl.org>2015-11-20 23:37:17 +0000
commit27949c353e68825f119410f8fd73ae1d667581c7 (patch)
tree8047b155949437358c5baed4769487472b2e70c7 /crypto/async/arch/async_null.h
parent2b2c78d4f0a73498739cfc0879299d7325c35160 (diff)
Simplify async pool handling
A lot of the pool handling code was in the arch specific files, but was actually boiler plate and the same across the implementations. This commit moves as much code as possible out of the arch specific files. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/async/arch/async_null.h')
-rw-r--r--crypto/async/arch/async_null.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/async/arch/async_null.h b/crypto/async/arch/async_null.h
index e9344f5874..684e373b48 100644
--- a/crypto/async/arch/async_null.h
+++ b/crypto/async/arch/async_null.h
@@ -72,5 +72,7 @@ typedef struct async_fibre_st {
# define async_fibre_makecontext(c)
# define async_fibre_free(f)
# define async_fibre_init_dispatcher(f)
+# define async_get_pool() NULL
+# define async_set_pool(p) 0
#endif