Author: Diego Barrios Romero <[email protected]>
Date: Sun Feb 26 18:03:28 2012 +0100
threads option
---
synfig-core/src/tool/main.cpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/synfig-core/src/tool/main.cpp b/synfig-core/src/tool/main.cpp
index 26ea97c..21e7220 100644
--- a/synfig-core/src/tool/main.cpp
+++ b/synfig-core/src/tool/main.cpp
@@ -528,6 +528,8 @@ int main(int ac, char* av[])
// Processing options
--------------------------------------------------
string target_name;
+ int threads;
+
// Common input file loading
if (vm.count("input-file"))
{
@@ -547,6 +549,14 @@ int main(int ac, char* av[])
target_name = vm["target"].as<string>();
}
+
+ if (vm.count("threads"))
+ threads = vm["threads"].as<int>();
+ else
+ threads = 1;
+
+ VERBOSE_OUT(1) << _("Threads set to ") << threads << endl;
+
// WARNING: canvas must be before append
if (vm.count("canvas"))
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl