summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_thread.c')
-rw-r--r--src/nxt_thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_thread.c b/src/nxt_thread.c
index 851ebb4f..0619ad1b 100644
--- a/src/nxt_thread.c
+++ b/src/nxt_thread.c
@@ -160,6 +160,8 @@ nxt_thread_init(void)
nxt_thread_time_update(thr);
}
+ nxt_random_init(&thr->random);
+
return thr;
}