[MLton-commit] r4670

Stephen Weeks MLton@mlton.org
Mon, 26 Jun 2006 01:23:19 -0700


Fixed misalingment problem with signalIsPending due to the runtime
treating it as a byte and the compiler treating it as a word.  Changed
the runtime declaration to

  volatile Word32_t signalIsPending; 


----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/gc/signals.h

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gc/signals.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gc/signals.h	2006-06-26 02:01:43 UTC (rev 4669)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gc/signals.h	2006-06-26 08:23:18 UTC (rev 4670)
@@ -16,7 +16,7 @@
   /* TRUE iff a signal has been received but not handled by the
    * mutator.
    */
-  volatile bool signalIsPending; 
+  volatile Word32_t signalIsPending; 
   /* The signals for which a mutator signal handler needs to run in
    * order to handle the signal.
    */