common taskscheduler: revise functionalities.
[platform/core/graphics/tizenvg.git] / test / testStroke.cpp
index 778d7c7..5ac2265 100644 (file)
@@ -146,8 +146,11 @@ int main(int argc, char **argv)
         cout << "tvg engine: opengl" << endl;
     }
 
+    //Threads Count
+    auto threads = std::thread::hardware_concurrency();
+
     //Initialize ThorVG Engine
-    if (tvg::Initializer::init(tvgEngine) == tvg::Result::Success) {
+    if (tvg::Initializer::init(tvgEngine, threads) == tvg::Result::Success) {
 
         elm_init(argc, argv);