Using new memory pool implementation.

This commit is contained in:
Igor Sysoev
2017-06-20 19:49:17 +03:00
parent c7ab908c19
commit f888a5310c
72 changed files with 350 additions and 1326 deletions

View File

@@ -42,12 +42,12 @@ nxt_conn_io_t nxt_unix_conn_io = {
nxt_conn_t *
nxt_conn_create(nxt_mem_pool_t *mp, nxt_task_t *task)
nxt_conn_create(nxt_mp_t *mp, nxt_task_t *task)
{
nxt_conn_t *c;
nxt_thread_t *thr;
c = nxt_mem_zalloc(mp, sizeof(nxt_conn_t));
c = nxt_mp_zget(mp, sizeof(nxt_conn_t));
if (nxt_slow_path(c == NULL)) {
return NULL;
}