mbed-os/platform
Kevin Bracey cfa6d07a3b Make LDREX/STREX CAS functions strong
The LDREX/STREX implementations of the compare-and-swap functions were
weak (they could spuriously fail when the value was expected), whereas
the critial section implementation was strong, and the documentation has
no suggestion that there might be spurious failures.

Rationalise by adding a retry loop for STREX failure, so that it only
returns false when the value is not expected.

Fixes https://github.com/ARMmbed/mbed-os/issues/5556
2017-11-28 11:56:50 +02:00
..
ATCmdParser.cpp Merging changes from ATParser got AT parser unification 2017-10-02 10:03:58 -05:00
ATCmdParser.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
CThunk.h Merge pull request #5342 from ARMmbed/feature_cortex_a 2017-11-15 11:24:36 +00:00
CallChain.cpp Deprecate CallChain 2017-10-27 14:55:49 -05:00
CallChain.h Merge pull request #5372 from SenRamakri/sen_PlatformDoxygenUpdates 2017-11-09 16:38:45 +00:00
Callback.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
CircularBuffer.h Merge pull request #5058 from 0x6d61726b/patch-2 2017-11-09 16:54:59 +00:00
CriticalSectionLock.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
DeepSleepLock.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
DirHandle.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
FileBase.cpp Filesystem: Moved retarget related file interfaces into platform 2017-03-14 11:02:34 -05:00
FileBase.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
FileHandle.cpp Removing _poll_change() for now 2017-05-31 15:02:11 +03:00
FileHandle.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
FileLike.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
FilePath.cpp FileSystem: Reintegrated FileSystemLike interface 2017-06-03 13:17:37 -05:00
FilePath.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
FileSystemHandle.cpp FileSystem: Reintegrated FileSystemLike interface 2017-06-03 13:17:37 -05:00
FileSystemHandle.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
FileSystemLike.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
FunctionPointer.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
LocalFileSystem.cpp LocalFileSystem: Moved away from deprecated open functions 2017-06-03 13:18:02 -05:00
LocalFileSystem.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
NonCopyable.h Platform: Turn NonCopyable compile time error into warnings. 2017-11-14 10:09:07 +00:00
PlatformMutex.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
SingletonPtr.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
Stream.cpp Stream class should use mbed::fdopen() to attach a stream 2017-05-31 15:02:11 +03:00
Stream.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
Transaction.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
critical.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
mbed_alloc_wrappers.cpp IAR heap stats added 2017-09-18 10:24:01 -05:00
mbed_application.c Fix ISR powerdown in mbed_application.c 2017-08-22 10:54:18 -05:00
mbed_application.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_assert.c Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
mbed_assert.h Fix comments on mbed_assert.h 2017-10-27 15:38:44 -05:00
mbed_board.c Unified the LED error pattern for all boards 2017-08-16 11:55:24 +01:00
mbed_critical.c Make LDREX/STREX CAS functions strong 2017-11-28 11:56:50 +02:00
mbed_critical.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_debug.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_error.c Prevent recursive call to error() 2017-06-02 23:50:35 -05:00
mbed_error.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_interface.c Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
mbed_interface.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_lib.json Platform: Turn NonCopyable compile time error into warnings. 2017-11-14 10:09:07 +00:00
mbed_mem_trace.c Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
mbed_mem_trace.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_mktime.c Typecasting to resolve warning: integer conversion resulted in a change of sign 2017-06-15 13:37:19 -05:00
mbed_mktime.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_poll.cpp Make poll() use wait(1) rather than yield() 2017-10-03 10:56:19 +03:00
mbed_poll.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_preprocessor.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_retarget.cpp Merge pull request #5528 from c1728p9/simplify_retarget 2017-11-22 10:18:36 -06:00
mbed_retarget.h Definition for stat was missing in header file 2017-11-22 17:41:24 -06:00
mbed_rtc_time.cpp Move clock() function from mbed_rtc_time.cpp to mbed_retarget.cpp. 2017-09-27 15:32:41 +02:00
mbed_rtc_time.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_sdk_boot.c Update mbed 2 discriminator 2017-09-11 13:20:33 -05:00
mbed_semihost_api.c Modify semihost_disabledebug() to support more interface FW revs 2017-03-31 13:33:55 -07:00
mbed_semihost_api.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_sleep.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_stats.c Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
mbed_stats.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_toolchain.h Platform: Add MBED_PRETTY_FUNCTION macro. 2017-11-14 10:07:30 +00:00
mbed_wait_api.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_wait_api_no_rtos.c Remove direct use of us ticker from platform 2017-09-29 09:21:00 +01:00
mbed_wait_api_rtos.cpp Remove direct use of us ticker from platform 2017-09-29 09:21:00 +01:00
platform.h Updated includes of renamed platform header files 2017-03-01 16:45:55 -06:00
rtc_time.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
semihost_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
sleep.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
toolchain.h [platform] fix doxygen group close 2017-04-26 09:14:36 -05:00
wait_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00