C++ exception in ISR
kevin.kirspel at optimedical.com
Tue Oct 25 17:36:00 UTC 2011
I came across a little issue that I thought was interesting. I have a RTEMS timer that fires and pushes a value on a c++ vector. After a number of pushes, a c++ exception is generated (I assume an exception is generated because GCC tries to lock one of its mutexes using gxx_wrappers.c). The exception never gets processed because GCC is trying to lock a mutex within an ISR. Of course RTEMS doesn't like this and a fatal error is generated. Should RTEMS be able to handle a C++ exception within an ISR?
Senior Research Engineer
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510-4444 ext. 81642
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users