Commit a3a4f863 authored by sumpfralle's avatar sumpfralle

now the single option "--enable-server" is sufficient to start pycam in a remotely accessible way


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@753 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 1c87b0a2
......@@ -94,7 +94,7 @@ def init_threading(number_of_processes=None, enable_server=False, remote=None, r
if number_of_processes is None:
# use defaults
# don't enable threading for a single cpu
if (multiprocessing.cpu_count() > 1) or remote or run_server:
if (multiprocessing.cpu_count() > 1) or remote or run_server or enable_server:
__multiprocessing = multiprocessing
__num_of_processes = multiprocessing.cpu_count()
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment