mbed-os/hal/common
Russ Butler 348b32c3c6 Create singleton class and update code to use it
Create the wrapper class SingletonPtr.  This provides a safe way to
declare and use singletons.  This class allows both the lazy
initialization of a singleton, and allows the singleton to be
garbage collected by the linker if it is never referenced.

This patch also updates the HAL to use SingletonPtr when declaring
singleton mutexes.
2016-07-15 14:37:43 -05:00
..
AnalogIn.cpp Create singleton class and update code to use it 2016-07-15 14:37:43 -05:00
BusIn.cpp Add virtual lock for thread safe classes 2016-06-11 17:33:12 +01:00
BusInOut.cpp Add virtual lock for thread safe classes 2016-06-11 17:33:12 +01:00
BusOut.cpp Add virtual lock for thread safe classes 2016-06-11 17:33:12 +01:00
CAN.cpp Add virtual lock for thread safe classes 2016-06-11 17:33:12 +01:00
CallChain.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
Ethernet.cpp Simplify layout: 2016-05-23 09:13:59 +01:00
FileBase.cpp Create singleton class and update code to use it 2016-07-15 14:37:43 -05:00
FileLike.cpp Simplify layout: 2016-05-23 09:13:59 +01:00
FilePath.cpp Simplify layout: 2016-05-23 09:13:59 +01:00
FileSystemLike.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
I2C.cpp Create singleton class and update code to use it 2016-07-15 14:37:43 -05:00
I2CSlave.cpp Simplify layout: 2016-05-23 09:13:59 +01:00
InterruptIn.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
InterruptManager.cpp Add virtual lock for thread safe classes 2016-06-11 17:33:12 +01:00
LocalFileSystem.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
RawSerial.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
SPI.cpp SPI: Properly aquire peripheral in constructor 2016-07-04 09:52:57 +02:00
SPISlave.cpp Simplify layout: 2016-05-23 09:13:59 +01:00
Serial.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
SerialBase.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
Stream.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
Ticker.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
Timeout.cpp Simplify layout: 2016-05-23 09:13:59 +01:00
Timer.cpp Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
TimerEvent.cpp Simplify layout: 2016-05-23 09:13:59 +01:00
assert.c Update assert and error to be interrupt safe 2016-06-11 17:33:10 +01:00
board.c Update assert and error to be interrupt safe 2016-06-11 17:33:10 +01:00
critical.c Moved core_util_atomic_*_ptr functions out of cortex switch 2016-07-09 11:14:16 -05:00
error.c error - include interface header file 2016-06-13 21:54:44 +01:00
gpio.c Simplify layout: 2016-05-23 09:13:59 +01:00
lp_ticker_api.c Simplify layout: 2016-05-23 09:13:59 +01:00
mbed_interface.c Simplify layout: 2016-05-23 09:13:59 +01:00
pinmap_common.c Simplify layout: 2016-05-23 09:13:59 +01:00
retarget.cpp Create singleton class and update code to use it 2016-07-15 14:37:43 -05:00
rtc_time.c Make core mbed API thread safe 2016-06-11 17:33:02 +01:00
semihost_api.c Simplify layout: 2016-05-23 09:13:59 +01:00
ticker_api.c Use critical section helper in HAL 2016-05-28 00:04:20 -05:00
us_ticker_api.c Simplify layout: 2016-05-23 09:13:59 +01:00
wait_api.c Simplify layout: 2016-05-23 09:13:59 +01:00