]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/MSVC-MingW/port.c
Introduce the portSOFTWARE_BARRIER macro which thus far is only used by the Win32...
[freertos] / FreeRTOS / Source / portable / MSVC-MingW / port.c
index 396633123a66716ddb9e4d86512b650f2ceafb2b..3c685b925ba6849ace36b70a015bc5456dae4ac7 100644 (file)
@@ -75,7 +75,7 @@ static uint32_t prvProcessTickInterrupt( void );
  * attempt to obtain pvInterruptEventMutex if a critical section is used inside\r
  * an interrupt handler itself.\r
  */\r
-static volatile BaseType_t xInsideInterrupt = pdFALSE;\r
+volatile BaseType_t xInsideInterrupt = pdFALSE;\r
 \r
 /*\r
  * Called when the process exits to let Windows know the high timer resolution\r
@@ -394,7 +394,7 @@ CONTEXT xContext;
                xInsideInterrupt = pdFALSE;\r
                WaitForMultipleObjects( sizeof( pvObjectList ) / sizeof( void * ), pvObjectList, TRUE, INFINITE );\r
 \r
-               /* /* Cannot be in a critical section to get here.  Tasks that exist a\r
+               /* Cannot be in a critical section to get here.  Tasks that exist a\r
                critical section will block on a yield mutex to wait for an interrupt to\r
                process if an interrupt was set pending while the task was inside the\r
                critical section.  xInsideInterrupt prevents interrupts that contain\r