mbed library sources

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Jun 08 16:15:09 2015 +0100
Parent:
560:c8f2dd221c5d
Child:
562:9f26fcd0c9ce
Commit message:
Synchronized with git revision 4e503efe2e318676afd8cf1d1b906db55449e731

Full URL: https://github.com/mbedmicro/mbed/commit/4e503efe2e318676afd8cf1d1b906db55449e731/

Build release - AppNearMe target addition, fixes for 2 Silabs target (no ARM)

Changed in this revision

api/CircularBuffer.h Show annotated file Show diff for this revision Revisions of this file
--- a/api/CircularBuffer.h	Mon Jun 08 13:45:08 2015 +0100
+++ b/api/CircularBuffer.h	Mon Jun 08 16:15:09 2015 +0100
@@ -88,9 +88,9 @@
 
 private:
     T _pool[BufferSize];
-    CounterType _head;
-    CounterType _tail;
-    bool _full;
+    volatile CounterType _head;
+    volatile CounterType _tail;
+    volatile bool _full;
 };
 
 }