summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_work_queue.h
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-07 15:34:42 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-07 15:34:42 +0300
commit949ba262cc7a833a717bbb271825c0ba72ad80b8 (patch)
treeeb32e0083b177ea42141a1b8208abad1ac714eab /src/nxt_work_queue.h
parentd2c85a2d9e491a08222272b88b20c9398e06449b (diff)
downloadunit-949ba262cc7a833a717bbb271825c0ba72ad80b8.tar.gz
unit-949ba262cc7a833a717bbb271825c0ba72ad80b8.tar.bz2
Style fixes.
Diffstat (limited to 'src/nxt_work_queue.h')
-rw-r--r--src/nxt_work_queue.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nxt_work_queue.h b/src/nxt_work_queue.h
index 05e222dd..d85a784c 100644
--- a/src/nxt_work_queue.h
+++ b/src/nxt_work_queue.h
@@ -11,10 +11,10 @@
typedef struct nxt_work_s nxt_work_t;
struct nxt_task_s {
- nxt_thread_t *thread;
- nxt_log_t *log;
- uint32_t ident;
- nxt_work_t *next_work;
+ nxt_thread_t *thread;
+ nxt_log_t *log;
+ uint32_t ident;
+ nxt_work_t *next_work;
/* TODO: exception_handler, prev/next task, subtasks. */
};
@@ -104,7 +104,7 @@ NXT_EXPORT nxt_work_handler_t nxt_work_queue_pop(nxt_work_queue_t *wq,
#if (NXT_DEBUG)
-NXT_EXPORT void nxt_work_queue_name(nxt_work_queue_t *wq, const char* name);
+NXT_EXPORT void nxt_work_queue_name(nxt_work_queue_t *wq, const char *name);
NXT_EXPORT void nxt_work_queue_thread_adopt(nxt_work_queue_t *wq);
#else