nxt_unit.h (743:e0f0cd7d244a) nxt_unit.h (828:b9f7635e6be2)
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_UNIT_H_INCLUDED_
7#define _NXT_UNIT_H_INCLUDED_
8

--- 182 unchanged lines hidden (view full) ---

191 * app_lib->port_recv(...);
192 * nxt_unit_process_msg(...);
193 * }
194 *
195 * The normally function returns when QUIT message received from Unit.
196 */
197int nxt_unit_run(nxt_unit_ctx_t *);
198
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_UNIT_H_INCLUDED_
7#define _NXT_UNIT_H_INCLUDED_
8

--- 182 unchanged lines hidden (view full) ---

191 * app_lib->port_recv(...);
192 * nxt_unit_process_msg(...);
193 * }
194 *
195 * The normally function returns when QUIT message received from Unit.
196 */
197int nxt_unit_run(nxt_unit_ctx_t *);
198
199int nxt_unit_run_once(nxt_unit_ctx_t *ctx);
200
199/* Destroy application library object. */
200void nxt_unit_done(nxt_unit_ctx_t *);
201
202/*
203 * Allocate and initialize new execution context with new listen port to
204 * process requests in other thread.
205 */
206nxt_unit_ctx_t *nxt_unit_ctx_alloc(nxt_unit_ctx_t *, void *);

--- 149 unchanged lines hidden ---
201/* Destroy application library object. */
202void nxt_unit_done(nxt_unit_ctx_t *);
203
204/*
205 * Allocate and initialize new execution context with new listen port to
206 * process requests in other thread.
207 */
208nxt_unit_ctx_t *nxt_unit_ctx_alloc(nxt_unit_ctx_t *, void *);

--- 149 unchanged lines hidden ---