nxt_work_queue.c (165:a1156473a8f1) nxt_work_queue.c (521:93dc4a28dd37)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

66 thread = nxt_thread();
67
68 wq->pid = nxt_pid;
69 wq->tid = nxt_thread_tid(thread);
70}
71
72
73void
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

66 thread = nxt_thread();
67
68 wq->pid = nxt_pid;
69 wq->tid = nxt_thread_tid(thread);
70}
71
72
73void
74nxt_work_queue_name(nxt_work_queue_t *wq, const char* name)
74nxt_work_queue_name(nxt_work_queue_t *wq, const char *name)
75{
76 nxt_work_queue_thread_assert(wq);
77
78 wq->name = name;
79}
80
81#else
82

--- 229 unchanged lines hidden ---
75{
76 nxt_work_queue_thread_assert(wq);
77
78 wq->name = name;
79}
80
81#else
82

--- 229 unchanged lines hidden ---