diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-03-09 18:03:27 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-03-09 18:03:27 +0300 |
commit | 6f2c9acd1841ca20a1388b34aef64e9f00459090 (patch) | |
tree | c0b9c1063ec464027d1ca29a793f6c0b7a6878d5 /src/nxt_job.h | |
parent | 5745e4826427155e29c1d520fe77811a0f570689 (diff) | |
download | unit-6f2c9acd1841ca20a1388b34aef64e9f00459090.tar.gz unit-6f2c9acd1841ca20a1388b34aef64e9f00459090.tar.bz2 |
Processes refactoring.
The cycle has been renamed to the runtime.
Diffstat (limited to 'src/nxt_job.h')
-rw-r--r-- | src/nxt_job.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_job.h b/src/nxt_job.h index b1af2e80..9d004d0a 100644 --- a/src/nxt_job.h +++ b/src/nxt_job.h @@ -60,7 +60,7 @@ typedef struct { NXT_EXPORT void *nxt_job_create(nxt_mem_pool_t *mp, size_t size); NXT_EXPORT void nxt_job_init(nxt_job_t *job, size_t size); -NXT_EXPORT void nxt_job_destroy(void *data); +NXT_EXPORT void nxt_job_destroy(nxt_task_t *task, void *data); NXT_EXPORT nxt_int_t nxt_job_cleanup_add(nxt_mem_pool_t *mp, nxt_job_t *job); NXT_EXPORT void nxt_job_start(nxt_task_t *task, nxt_job_t *job, |