Re: Peter Dons Tychsen : user32: Add exception handling for timer callbacks.
1 Oct
2009
1 Oct
'09
2:38 p.m.
On Thu, 2009-10-01 at 12:33 +0200, Alexandre Julliard wrote:
Peter Dons Tychsen <donpedro(a)tdcadsl.dk> writes:
Just out of interest: You changed this to a write. Fine. But why the volatile? Can GCC assume predetermined results when writing to NULL? I don't see any reason to use volatile unless someone else is also read/writing from NULL (which is impossible). It might just generate more code in some cases.
It's just to make sure no compiler tries to be too smart. For a single access it probably doesn't make a difference; it could change if for instance we try to trigger a second crash and the compiler optimizes out the first write.
Ah,OK. Thanks for the info. /pedro
5919
Age (days ago)
5919
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Dons Tychsen