nxt_conn.h (318:c2442f5e054d) nxt_conn.h (337:854a1a440616)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_CONN_H_INCLUDED_
8#define _NXT_CONN_H_INCLUDED_

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

98typedef struct {
99 /* Must be the first field. */
100 nxt_fd_event_t socket;
101
102 nxt_task_t task;
103
104 uint32_t ready;
105 uint32_t batch;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_CONN_H_INCLUDED_
8#define _NXT_CONN_H_INCLUDED_

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

98typedef struct {
99 /* Must be the first field. */
100 nxt_fd_event_t socket;
101
102 nxt_task_t task;
103
104 uint32_t ready;
105 uint32_t batch;
106 uint32_t mem_cache; /* 8 bits */
106
107 /* An accept() interface is cached to minimize memory accesses. */
108 nxt_work_handler_t accept;
109
110 nxt_listen_socket_t *listen;
111 nxt_conn_t *next; /* STUB */
112 nxt_work_queue_t *work_queue;
113

--- 232 unchanged lines hidden ---
107
108 /* An accept() interface is cached to minimize memory accesses. */
109 nxt_work_handler_t accept;
110
111 nxt_listen_socket_t *listen;
112 nxt_conn_t *next; /* STUB */
113 nxt_work_queue_t *work_queue;
114

--- 232 unchanged lines hidden ---