nxt_thread.h (63:b79fe37d9f24) nxt_thread.h (138:59fc46dd5e1d)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_UNIX_THREAD_H_INCLUDED_
8#define _NXT_UNIX_THREAD_H_INCLUDED_

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

183 nxt_event_engine_t *engine;
184 void *data;
185
186 /*
187 * Although pointer to a current fiber should be a property of
188 * engine->fibers, its placement here eliminates 2 memory accesses.
189 */
190 nxt_fiber_t *fiber;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_UNIX_THREAD_H_INCLUDED_
8#define _NXT_UNIX_THREAD_H_INCLUDED_

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

183 nxt_event_engine_t *engine;
184 void *data;
185
186 /*
187 * Although pointer to a current fiber should be a property of
188 * engine->fibers, its placement here eliminates 2 memory accesses.
189 */
190 nxt_fiber_t *fiber;
191
192 nxt_random_t random;
191};
192
193
194#endif /* _NXT_UNIX_THREAD_H_INCLUDED_ */
193};
194
195
196#endif /* _NXT_UNIX_THREAD_H_INCLUDED_ */