Open MartinSE73 opened 7 years ago
Hi Martin,
This is indeed a simple bug, recently changed the default behavior to restart a stuck process and accidentally used . instead of -> on a pointer type. Fixed in master, should be good now, give it a try and let me know.
I want to use the functionalitiy of the timeout handling for long running processes (Webbino). For this I have to activate the _PROCESS_EXCEPTION_HANDLING and _PROCESS_TIMEOUT_INTERRUPTS. But when I uncomment the EXCEPTION_HANDLING I receive following compiler error:
_C:\Users\Martin\Documents\Arduino\Heat2017\HT2017\libraries\Arduino_Process_Scheduler\src\ProcessScheduler\Scheduler.cpp: In member function 'virtual void Scheduler::handleException(Process*, int)':
C:\Users\Martin\Documents\Arduino\Heat2017\HT2017\libraries\Arduino_Process_Scheduler\src\ProcessScheduler\Scheduler.cpp:464:21: error: request for member 'restart' in 'process', which is of pointer type 'Process*' (maybe you meant to use '->' ?)
Now my quetion is it a "layer 8 problem" or a bug?