Closed byaka closed 9 years ago
The problem is simple: the thread pool is in the parent process, not the child one.
When calling Process()
(or fork()
for that matter), you only fork the calling thread, not the others.
You could try either to create the server in the child process, or to write a method starting the pool then calling server_forever and to call Process on it.
Thx
It's not a big problem, but strange..
This code work without errors, but i can't connect to server. But if i change PooledJSONRPCServer to SimpleJSONRPCServer, all work good.