Re: Tasks software watchdog timer

2021-03-17 Thread Gregory Nutt
I would like to ask, are there cases where the timer may not fire? Is it guaranteed to fire, for example, if the thread is in a dead lock, The signal will be delivered to some thread in the task group, so in that sense it will "fire".  However, it may be the case that the the dead locked th

Re: Tasks software watchdog timer

2021-03-17 Thread Fotis Panagiotopoulos
These are all good ideas, thank you! I am considering the posix timer approach. I would like to ask, are there cases where the timer may not fire? Is it guaranteed to fire, for example, if the thread is in a dead lock, or if a higher priority thread has caused CPU starvation, or similar cases? Σ

Re: Using C++ STL in Nuttx

2021-03-17 Thread Xiang Xiao
Good news. It will be great if you can document your experience in the Documentation folder when you find some free time. On Wed, Mar 17, 2021 at 9:54 PM Flavio Castro Alves Filho < flavio.al...@gmail.com> wrote: > Hello Xiang, > > I could finally build an C++ project using CMake and exported Nut

Re: Using C++ STL in Nuttx

2021-03-17 Thread Flavio Castro Alves Filho
Hello Xiang, I could finally build an C++ project using CMake and exported NuttX. - Before that, I made a test creating the same project inside the NuttX apps structure, and it worked fine. My sample project is here: https://github.com/Phi-Innovations/nuttx-apps/tree/main/hellocpp I compiled J