From 6f2c9acd1841ca20a1388b34aef64e9f00459090 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 9 Mar 2017 18:03:27 +0300 Subject: Processes refactoring. The cycle has been renamed to the runtime. --- src/nxt_mem_pool_cleanup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nxt_mem_pool_cleanup.c') diff --git a/src/nxt_mem_pool_cleanup.c b/src/nxt_mem_pool_cleanup.c index febfc959..ceafc9c8 100644 --- a/src/nxt_mem_pool_cleanup.c +++ b/src/nxt_mem_pool_cleanup.c @@ -7,7 +7,7 @@ #include -static void nxt_mem_pool_file_cleanup_handler(void *data); +static void nxt_mem_pool_file_cleanup_handler(nxt_task_t *task, void *data); nxt_mem_pool_cleanup_t * @@ -27,13 +27,13 @@ nxt_mem_pool_file_cleanup(nxt_mem_pool_t *mp, nxt_file_t *file) static void -nxt_mem_pool_file_cleanup_handler(void *data) +nxt_mem_pool_file_cleanup_handler(nxt_task_t *task, void *data) { nxt_file_t *file; file = data; if (file->fd != NXT_FILE_INVALID) { - nxt_file_close(file); + nxt_file_close(task, file); } } -- cgit