Introducing thread-safe nxt_random().
This commit is contained in:
@@ -188,6 +188,8 @@ struct nxt_thread_s {
|
||||
* engine->fibers, its placement here eliminates 2 memory accesses.
|
||||
*/
|
||||
nxt_fiber_t *fiber;
|
||||
|
||||
nxt_random_t random;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user