diff UnitTestsSources/MultiThreadingTests.cpp @ 2606:f2b9d3256060 jobs

SystemCallOperation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 19 May 2018 15:10:26 +0200
parents 76ef12fa136c
children 3ff4c50647ea
line wrap: on
line diff
--- a/UnitTestsSources/MultiThreadingTests.cpp	Fri May 18 18:06:53 2018 +0200
+++ b/UnitTestsSources/MultiThreadingTests.cpp	Sat May 19 15:10:26 2018 +0200
@@ -799,9 +799,11 @@
     LuaJobManager::Lock lock(lua, engine);
     size_t a = lock.AddLogOperation();
     size_t b = lock.AddLogOperation();
+    size_t c = lock.AddSystemCallOperation("echo");
     lock.AddStringInput(a, boost::lexical_cast<std::string>(i));
     lock.AddNullInput(a);
     lock.Connect(a, b);
+    lock.Connect(a, c);
   }
 
   boost::this_thread::sleep(boost::posix_time::milliseconds(2000));