diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-23 12:39:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-23 12:39:27 +0100 |
| commit | c2709fbe5438da124b2d493cb714a6c58720cf5b (patch) | |
| tree | 015607895cba76f9b8bcddf6fae72cb7c62e3cb3 /src/tools/servomatic_gui.cc | |
| parent | 365f830b4c65b2d872106a14f57d28cef4a179cd (diff) | |
Command-line option to specify servomatic_cli threads.
Diffstat (limited to 'src/tools/servomatic_gui.cc')
| -rw-r--r-- | src/tools/servomatic_gui.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/servomatic_gui.cc b/src/tools/servomatic_gui.cc index a151658f5..610ba8005 100644 --- a/src/tools/servomatic_gui.cc +++ b/src/tools/servomatic_gui.cc @@ -23,6 +23,7 @@ #include "wx_util.h" #include "lib/util.h" #include "lib/server.h" +#include "lib/config.h" using namespace std; using namespace boost; @@ -141,7 +142,7 @@ private: void main_thread () { Server server (&memory_log); - server.run (); + server.run (Config::instance()->num_local_encoding_threads ()); } boost::thread* _thread; |
