Russ Butler
|
1ef06f5eb0
|
Set size of callback irq array to IrqCnt
Rather than hard coding the size of the callback array for irqs,
instead set the size to IrqCnt which is defined by the irq enumeration.
|
2016-08-30 10:33:44 -05:00 |
Russ Butler
|
4047ff9576
|
Create dedicated file for PlatformMutex
Move the PlatformMutex class into a dedicated file to reduce the
number of unnecessary includes.
|
2016-07-28 14:21:04 -05:00 |
Russ Butler
|
b174d6a314
|
Add virtual lock for thread safe classes
Add a virtual lock for the classes which are thread safe. This
allows the use of a mutex to be overridden.
|
2016-06-11 17:33:12 +01:00 |
Russ Butler
|
a6f611b706
|
Add sync level documentation to classes
Document public classes to indicate level of protection provided.
|
2016-06-11 17:33:09 +01:00 |
Russ Butler
|
feb60784e9
|
Make core mbed API thread safe
Make the mbed C++ API thread safe by adding a combination of
mutexes and critical sections. Stub out all mutexes when the
RTOS is not present.
|
2016-06-11 17:33:02 +01:00 |
Christopher Haster
|
a7f4262858
|
Adopt Callback class in hal
|
2016-05-27 10:28:46 -05:00 |
Mihail Stoyanov
|
d9734e5a32
|
Simplify layout:
* /libraries/mbed -> /hal
* /libraries/rtos -> /rtos
|
2016-05-23 09:13:59 +01:00 |