为什么mod_wsgi不支持Windows上的守护进程模式?

Pio*_*ost 4 python windows apache mod-wsgi

http://code.google.com/p/modwsgi/上可以阅读此声明

的mod_wsgi的守护模式将然而,仅可在Apache 2.0或2.2 UNIX上运行,只有当基本的Apache Apache的运行时库已编制与线程支持.

在Windows下不支持守护进程模式的原因是什么?

在得到之后我发现了上述内容

Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration
Run Code Online (Sandbox Code Playgroud)

来自Apache的错误.模块的包含不是问题,因为WSGIScriptAlias指令工作正常.我想我得到的错误是由于mod_wsgi的wiki上描述的限制.

Gra*_*ton 6

Windows不提供UNIX样式的fork()系统调用,因此不能进行子进程继承父进程内存映像的进程生成.Apache/mod_wsgi需要fork().