Klaus Demo nginx / 7744472
Win32: improved ngx_mutex_init() stub (ticket #138). This allows to run nginx with "master_process off" under Windows. Maxim Dounin 10 years ago
1 changed file(s) with 12 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7171 ngx_mutex_t *
7272 ngx_mutex_init(ngx_log_t *log, ngx_uint_t flags)
7373 {
74 return (ngx_mutex_t *) 1;
74 ngx_mutex_t *m;
75
76 m = ngx_alloc(sizeof(ngx_mutex_t), log);
77 if (m == NULL) {
78 return NULL;
79 }
80
81 m->log = log;
82
83 /* STUB */
84
85 return m;
7586 }
7687
7788