static ngx_int_t ngx_http_push_init_worker(ngx_cycle_t *cycle) { if((ngx_http_push_init_ipc_shm(ngx_http_push_worker_processes))!=NGX_OK) { return NGX_ERROR; } return ngx_http_push_register_worker_message_handler(cycle); }
static ngx_int_t ngx_http_push_store_init_worker(ngx_cycle_t *cycle) { ngx_core_conf_t *ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); return ngx_http_push_init_ipc_shm(ccf->worker_processes); }