Removed configure option --no-threads.

This commit is contained in:
Igor Sysoev
2017-08-24 17:43:32 +03:00
parent 8b4b52ae3b
commit b84aa64dcb
21 changed files with 18 additions and 305 deletions

View File

@@ -143,20 +143,13 @@ struct nxt_conn_s {
nxt_queue_t requests; /* of nxt_req_conn_link_t */
#if (NXT_SSLTLS || NXT_THREADS)
/* SunC does not support "zero-sized struct/union". */
union {
#if (NXT_SSLTLS)
void *ssltls;
#endif
#if (NXT_THREADS)
nxt_thread_pool_t *thread_pool;
#endif
} u;
#endif
nxt_mp_t *mem_pool;
nxt_task_t task;