Viktor Dukhovni 6e8ac50870 Async error handling and MacOS/X fixes
In the async code for MacOS/X define _XOPEN_SOURCE (if not already
defined) as early as possible.  We must do this before including
any header files, because on MacOS/X <stlib.h> includes <signal.h>
which includes <ucontext.h>.  If we delay defining _XOPEN_SOURCE
and include <ucontext.h> after various system headers are included,
we are very likely to end up with the wrong (truncated) definition
of ucontext_t.

Also, better error handling and some code cleanup in POSIX fibre
construction and destruction.  We make sure that async_fibre_makecontext()
always initializes the fibre to a state that can be freed.

For all implementations, check for error returns from
async_fibre_makecontext().

Reviewed-by: Matt Caswell <matt@openssl.org>
2015-11-22 16:54:43 -05:00
..
2015-11-05 15:48:37 +00:00
2015-11-20 23:31:42 +00:00
2015-11-01 08:09:57 -05:00
2015-11-05 15:48:37 +00:00
2015-11-20 23:35:19 +00:00
2015-11-21 14:21:04 +01:00
2015-09-02 22:05:37 -04:00
2015-11-20 23:37:17 +00:00
2015-09-26 19:50:11 +02:00
2015-11-17 17:14:28 -05:00
2015-10-23 19:52:08 +02:00
2015-09-21 10:17:58 +01:00
2015-09-04 11:45:44 -04:00
2015-11-17 15:17:36 +01:00
2015-04-20 15:06:22 +02:00
2015-11-05 15:48:37 +00:00
2015-09-29 21:59:19 -04:00
2015-07-16 01:06:48 -04:00
2015-10-30 17:21:42 -04:00
2015-06-23 17:09:35 -04:00
2015-09-02 22:05:37 -04:00
2015-09-02 23:03:43 -04:00
2015-08-05 22:06:01 -04:00
2014-06-04 08:34:18 +02:00
2015-07-14 01:10:01 +02:00
2015-01-22 09:20:09 +00:00