view src/event/modules/ngx_iocp_module.h @ 6942:1c43ac026c1d

Fixed CPU hog while freeing hc->busy after e662cbf1b932 (1.11.11). Reported by Richard Stanway, http://mailman.nginx.org/pipermail/nginx/2017-March/053296.html.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 24 Mar 2017 16:26:12 +0300
parents d620f497c50f
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#ifndef _NGX_IOCP_MODULE_H_INCLUDED_
#define _NGX_IOCP_MODULE_H_INCLUDED_


typedef struct {
    int  threads;
    int  post_acceptex;
    int  acceptex_read;
} ngx_iocp_conf_t;


extern ngx_module_t  ngx_iocp_module;


#endif /* _NGX_IOCP_MODULE_H_INCLUDED_ */