diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-03-09 18:03:27 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-03-09 18:03:27 +0300 |
commit | 6f2c9acd1841ca20a1388b34aef64e9f00459090 (patch) | |
tree | c0b9c1063ec464027d1ca29a793f6c0b7a6878d5 /auto | |
parent | 5745e4826427155e29c1d520fe77811a0f570689 (diff) | |
download | unit-6f2c9acd1841ca20a1388b34aef64e9f00459090.tar.gz unit-6f2c9acd1841ca20a1388b34aef64e9f00459090.tar.bz2 |
Processes refactoring.
The cycle has been renamed to the runtime.
Diffstat (limited to 'auto')
-rw-r--r-- | auto/make | 2 | ||||
-rw-r--r-- | auto/modules/conf | 4 | ||||
-rw-r--r-- | auto/sources | 10 |
3 files changed, 9 insertions, 7 deletions
@@ -237,7 +237,7 @@ fi cat << END > Makefile -all: libnxt $NXT_BIN +all: $NXT_BIN libnxt: make -f $NXT_MAKEFILE libnxt diff --git a/auto/modules/conf b/auto/modules/conf index 141bd098..f060bdeb 100644 --- a/auto/modules/conf +++ b/auto/modules/conf @@ -18,7 +18,7 @@ NXT_MODULES_SRC=$NXT_BUILD_DIR/nxt_modules.c cat << END > $NXT_MODULES_SRC #include <nxt_main.h> -#include <nxt_cycle.h> +#include <nxt_runtime.h> END @@ -26,7 +26,7 @@ END for nxt_init in $NXT_MODULES_INIT do - $echo "extern nxt_int_t $nxt_init(nxt_thread_t *thr, nxt_cycle_t *cycle);" \ + $echo "extern nxt_int_t $nxt_init(nxt_thread_t *thr, nxt_runtime_t *rt);" \ >> $NXT_MODULES_SRC done diff --git a/auto/sources b/auto/sources index af9a21f4..5fb97779 100644 --- a/auto/sources +++ b/auto/sources @@ -82,6 +82,7 @@ NXT_LIB_SRCS=" \ src/nxt_process_title.c \ src/nxt_signal.c \ src/nxt_port_socket.c \ + src/nxt_port.c \ src/nxt_dyld.c \ src/nxt_random.c \ src/nxt_queue.c \ @@ -320,7 +321,7 @@ if [ $NXT_LIB_UNIT_TEST = YES ]; then fi NXT_DEPS=" \ - src/nxt_cycle.h \ + src/nxt_runtime.h \ src/nxt_application.h \ src/nxt_master_process.h \ " @@ -328,10 +329,11 @@ NXT_DEPS=" \ NXT_SRCS=" \ src/nxt_main.c \ src/nxt_app_log.c \ - src/nxt_cycle.c \ - src/nxt_port.c \ - src/nxt_application.c \ + src/nxt_runtime.c \ src/nxt_stream_module.c \ src/nxt_master_process.c \ src/nxt_worker_process.c \ + src/nxt_controller.c \ + src/nxt_router.c \ + src/nxt_application.c \ " |