diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-06-20 19:49:17 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-06-20 19:49:17 +0300 |
commit | f888a5310c1808902b4035ca3454b62bc5cf4434 (patch) | |
tree | 7425e11cdba27420d21468b0f79787834bd3c498 /src/nxt_job.h | |
parent | c7ab908c19242a5ddd0233e123e8c2be210b3c02 (diff) | |
download | unit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.gz unit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.bz2 |
Using new memory pool implementation.
Diffstat (limited to 'src/nxt_job.h')
-rw-r--r-- | src/nxt_job.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_job.h b/src/nxt_job.h index 9d004d0a..9445f17d 100644 --- a/src/nxt_job.h +++ b/src/nxt_job.h @@ -40,7 +40,7 @@ typedef struct { uint16_t cache_size; uint8_t cancel; /* 1 bit */ - nxt_mem_pool_t *mem_pool; + nxt_mp_t *mem_pool; nxt_queue_link_t link; #if (NXT_THREADS) @@ -58,10 +58,10 @@ typedef struct { } nxt_job_t; -NXT_EXPORT void *nxt_job_create(nxt_mem_pool_t *mp, size_t size); +NXT_EXPORT void *nxt_job_create(nxt_mp_t *mp, size_t size); NXT_EXPORT void nxt_job_init(nxt_job_t *job, size_t size); 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 nxt_int_t nxt_job_cleanup_add(nxt_mp_t *mp, nxt_job_t *job); NXT_EXPORT void nxt_job_start(nxt_task_t *task, nxt_job_t *job, nxt_work_handler_t handler); |