New process port exchange changed. READY message type introduced.
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready.
This commit is contained in:
@@ -162,4 +162,17 @@ NXT_EXPORT extern nxt_log_t nxt_main_log;
|
||||
NXT_EXPORT extern nxt_str_t nxt_log_levels[];
|
||||
|
||||
|
||||
#define nxt_assert(c) \
|
||||
do { \
|
||||
if (nxt_fast_path(c)) { \
|
||||
break; \
|
||||
\
|
||||
} else { \
|
||||
nxt_thread_log_alert("%s:%d assertion failed: %s", \
|
||||
__FILE__, __LINE__, #c ); \
|
||||
nxt_abort(); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
||||
#endif /* _NXT_LOG_H_INCLUDED_ */
|
||||
|
||||
Reference in New Issue
Block a user