patacongo commented on issue #274: Improve sim timer
URL: https://github.com/apache/incubator-nuttx/pull/274#issuecomment-586394703
 
 
   Some time back, i attempted to implement a timer for the simulation using a 
host timer on a timer pthread .  I ran into the same problems as I did when I 
tried to implement simulated interrupts:  
https://cwiki.apache.org/confluence/display/NUTTX/NuttX+Simulation
   
   Basically, you cannot do a NuttX context switch from the context of a host 
signal handler or from host pthreads.  I still have the host-based timer 
implementation and can send a tarball to anyone who is interested.  It is from 
2014 and so would need some minor environmental updates.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to