[ros-dev] [ros-diffs] [fireball] 34232: Yuri Sidorov <jura at cp-lab.com> - Prevent boolean flags from being optimized away by compiler (due to PSEH usage) by making them volatile. See issue #3408 for more details.
KJK::Hyperion
hackbunny at reactos.com
Wed Jul 2 10:16:16 CEST 2008
Alex Ionescu ha scritto:
> If something is happening to these flags, PSEH should be fixed -- not
> making every flag in the source base a volatile.
PSEH is based setjmp/longjmp, some local variables WILL be reset when an
exception is caught and they MUST be marked as "volatile". I documented
this a long time ago
More information about the Ros-dev
mailing list