Fix windows issue with multiple workers

Sergey Brester serg.brester at sebres.de
Mon Jun 22 09:33:45 UTC 2015


Hi,

enclosed you will find an amend fix as replacement to 
"_sb-win-multi-worker-add-3.patch" (just forgotten to save after 
renaming NGX_SINGLE_WORKER <-> NGX_CONF_UNSET_PTR, before it was 
commited).

18.06.2015 21:55, Maxim Dounin:

> As I already tried to explain, the approach with inherited sockets
> is basically identical to what nginx does on UNIX with fork().
> There are no reasons to keep things different if you can do it
> similarly on both platforms.

But it's not even roughly similar, see "win32/ngx_process.c" + 
"win32/ngx_process_cycle.c" in comparission to unix...
This is already at all a biggish difference to unix.

> The goal is to minimize code bloat, not maximize it.

Let me think a bit, how I can make it a little smaller, or unite some 
code-pieces with unix.

Regards, sebres.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _sb-win-multi-worker-add-3b.patch
Type: text/x-diff
Size: 9120 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20150622/4feb4d9d/attachment-0001.bin>


More information about the nginx-devel mailing list