Commit 7e9cdffe authored by sumpfralle's avatar sumpfralle

fixed minor multiprocessing issue


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1103 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 2c1d504c
...@@ -204,6 +204,7 @@ def init_threading(number_of_processes=None, enable_server=False, remote=None, ...@@ -204,6 +204,7 @@ def init_threading(number_of_processes=None, enable_server=False, remote=None,
# no further warnings required # no further warnings required
pass pass
else: else:
import multiprocessing
if number_of_processes is None: if number_of_processes is None:
# use defaults # use defaults
# don't enable threading for a single cpu # don't enable threading for a single cpu
......
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