Re:Volatile: C Keyword Myths Dispelled
by dfox on Thursday March 12, 2009 @04:15PM
(#513995)
And additionally, cases when volatile is really necessary around setjmp()/longjmp() are pretty rare.
[ Parent
| on HN ]
Re:Volatile: C Keyword Myths Dispelled
by shantanugoel on Friday March 13, 2009 @12:10AM
(#514489)
True..I try to avoid volatiles as much as I can. And as someone else pointed out on the blog in the commens, many implementations even get the volatiles wrong giving rise to a lot of bugs, so even if you were utmost careful about it, it can still cause issues.