Deleted
Added
nxt_runtime.c (597:e6586cced0ab) | nxt_runtime.c (598:70677ad404c1) |
---|---|
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) Valentin V. Bartenev 5 * Copyright (C) NGINX, Inc. 6 */ 7 8#include <nxt_main.h> --- 1820 unchanged lines hidden (view full) --- 1829 nxt_runtime_process_destroy(rt, process); 1830 } 1831} 1832 1833 1834nxt_process_t * 1835nxt_runtime_process_first(nxt_runtime_t *rt, nxt_lvlhsh_each_t *lhe) 1836{ | 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) Valentin V. Bartenev 5 * Copyright (C) NGINX, Inc. 6 */ 7 8#include <nxt_main.h> --- 1820 unchanged lines hidden (view full) --- 1829 nxt_runtime_process_destroy(rt, process); 1830 } 1831} 1832 1833 1834nxt_process_t * 1835nxt_runtime_process_first(nxt_runtime_t *rt, nxt_lvlhsh_each_t *lhe) 1836{ |
1837 nxt_memzero(lhe, sizeof(nxt_lvlhsh_each_t)); | 1837 nxt_lvlhsh_each_init(lhe, &lvlhsh_processes_proto); |
1838 | 1838 |
1839 lhe->proto = &lvlhsh_processes_proto; 1840 | |
1841 return nxt_runtime_process_next(rt, lhe); 1842} 1843 1844 1845void 1846nxt_runtime_port_add(nxt_task_t *task, nxt_port_t *port) 1847{ 1848 nxt_int_t res; --- 44 unchanged lines hidden --- | 1839 return nxt_runtime_process_next(rt, lhe); 1840} 1841 1842 1843void 1844nxt_runtime_port_add(nxt_task_t *task, nxt_port_t *port) 1845{ 1846 nxt_int_t res; --- 44 unchanged lines hidden --- |