Supporting Windows became one of the goals of ServerEngine since #50. But because fork
system call is not available on Windows, worker_type: process doesn't work. worker_type: spawn works but it has very different API set. Therefore, applications need to have quite different code for Linux and Windows.
It is also hard to maintain to keep MultiProcessServer and MultiSpawnServer behave consistently.
Idea here is to give up support of worker_type: process and thread so that any developers can write a single code to support both of Linux and Windows. And make ServerEngine library much smaller.
delete MultiProcessServer, MultiThreadServer, and MultiWorkerServer
Supporting Windows became one of the goals of ServerEngine since #50. But because
fork
system call is not available on Windows,worker_type: process
doesn't work.worker_type: spawn
works but it has very different API set. Therefore, applications need to have quite different code for Linux and Windows.It is also hard to maintain to keep MultiProcessServer and MultiSpawnServer behave consistently.
Idea here is to give up support of
worker_type: process
andthread
so that any developers can write a single code to support both of Linux and Windows. And make ServerEngine library much smaller.