We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c59599 commit 7854b3aCopy full SHA for 7854b3a
1 file changed
StaticThreadController.h
@@ -40,6 +40,10 @@ class StaticThreadController: public Thread{
40
// run() Method is overrided
41
void run() override
42
{
43
+ // Run this thread before
44
+ if(_onRun != nullptr && shouldRun())
45
+ _onRun();
46
+
47
for(int i = 0; i < N; i++){
48
// Is enabled? Timeout exceeded?
49
if(thread[i]->shouldRun()){
0 commit comments