diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-24 17:43:32 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-24 17:43:32 +0300 |
commit | b84aa64dcbfb92d31cef10f2f45025a67f2418e4 (patch) | |
tree | bd7509540538801bdde233b24c0a130fbd6d757a /src/nxt_signal.h | |
parent | 8b4b52ae3b3c9400b3d7040a591203a0c1b74ec3 (diff) | |
download | unit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.gz unit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.bz2 |
Removed configure option --no-threads.
Diffstat (limited to 'src/nxt_signal.h')
-rw-r--r-- | src/nxt_signal.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/nxt_signal.h b/src/nxt_signal.h index 2194d1f4..900a9e16 100644 --- a/src/nxt_signal.h +++ b/src/nxt_signal.h @@ -28,18 +28,14 @@ typedef struct { const nxt_sig_event_t *sigev; sigset_t sigmask; -#if (NXT_THREADS) /* Used by the signal thread. */ nxt_pid_t process; nxt_thread_handle_t thread; -#endif } nxt_event_signals_t; nxt_event_signals_t *nxt_event_engine_signals(const nxt_sig_event_t *sigev); -#if (NXT_THREADS) - #define \ nxt_event_engine_signals_start(engine) \ nxt_signal_thread_start(engine) @@ -52,21 +48,5 @@ nxt_event_engine_signals_stop(engine) \ NXT_EXPORT nxt_int_t nxt_signal_thread_start(nxt_event_engine_t *engine); NXT_EXPORT void nxt_signal_thread_stop(nxt_event_engine_t *engine); -#else /* !(NXT_THREADS) */ - -#define \ -nxt_event_engine_signals_start(engine) \ - nxt_signal_handlers_start(engine) - -#define \ -nxt_event_engine_signals_stop(engine) \ - nxt_signal_handlers_stop(engine) - - -NXT_EXPORT nxt_int_t nxt_signal_handlers_start(nxt_event_engine_t *engine); -NXT_EXPORT void nxt_signal_handlers_stop(nxt_event_engine_t *engine); - -#endif - #endif /* _NXT_SIGNAL_H_INCLUDED_ */ |