FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

// 2018/09/04 - contributed by Glen F. // // An example to show dispatching multiple Taskflow graphs as // separate batches (which will all run on the same Threadpool). // // It first dispatches 5 "independent" tasks (#100-104), // then launches four batches (0-3) of a task graph with inter-dependencies, // then it waits for the 100-104 tasks to finish before // launching 5 more independent tasks (#200-204). #include // Procedure: syncLog // synchronize cout across threads void syncLog(std::string const& msg) { static std::mutex logMutex; std::lock_guard lock(logMutex); std::cout

Back | FazBrowse Home | New Git URL