[openssl-dev] [openssl-team] Discussion: design issue: async and -lpthread

Viktor Dukhovni openssl-users at dukhovni.org
Tue Nov 24 03:03:26 UTC 2015


On Tue, Nov 24, 2015 at 11:32:32AM +1000, Peter Waltenberg wrote:

> As for fibre's, I doubt it'll work in general, the issue there is simply
> the range of OS's OpenSSL supports. If you wire it in you still have to run
> with man+dog+world in the process, that's a hard ask. One of the good
> points about OpenSSL up until now, it tends to not break those big messy
> apps where a whole lot of independly developed code ends up in the same
> process.

It'll work because it has to be explicitly enabled by the application,
the OpenSSL library will provide the support on sufficiently capable
platforms, but they won't be used unless explicitly requested, and
they're only useful if there's some sort of asynchronous crypto
engine available.  They're light-weight glue to facilitate new
kinds of low-overhead asynchronous operations.  The use of fibres
will be rather rare until such engines become commonplace.

-- 
	Viktor.


More information about the openssl-dev mailing list