We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a9eb9 commit ff6ed60Copy full SHA for ff6ed60
include/taskr/runtime.hpp
@@ -453,6 +453,11 @@ class Runtime
453
* Function to toggle the finish on last task condition
454
*/
455
__INLINE__ void setFinishOnLastTask(const bool value = true) { _finishOnLastTask = value; }
456
+
457
+ /**
458
+ * Function to check whether there are active tasks remaining
459
+ */
460
+ __INLINE__ size_t getActiveTaskCounter() const { return _activeTaskCount; }
461
462
private:
463
0 commit comments