Remove the deprecated CriticalSectionLock APIs

pull/12533/head
Rajkumar Kanagaraj 2020-02-28 07:19:19 -08:00
parent 0286e3c325
commit b3ba0905ac
2 changed files with 0 additions and 28 deletions

View File

@ -59,24 +59,6 @@ public:
~CriticalSectionLock();
/** Mark the start of a critical section
* @deprecated This function is inconsistent with RAII and is being removed in the future. Replaced by static function CriticalSectionLock::enable.
*
*/
MBED_DEPRECATED_SINCE("mbed-os-5.8",
"This function is inconsistent with RAII and is being removed in the future."
"Replaced by static function CriticalSectionLock::enable.")
void lock();
/** Mark the end of a critical section
* @deprecated This function is inconsistent with RAII and is being removed in the future. Replaced by static function CriticalSectionLock::enable.
*
*/
MBED_DEPRECATED_SINCE("mbed-os-5.8",
"This function is inconsistent with RAII and is being removed in the future."
"Replaced by static function CriticalSectionLock::disable.")
void unlock();
/** Mark the start of a critical section
*/
static void enable();

View File

@ -30,16 +30,6 @@ CriticalSectionLock::~CriticalSectionLock()
core_util_critical_section_exit();
}
void CriticalSectionLock::lock()
{
core_util_critical_section_enter();
}
void CriticalSectionLock::unlock()
{
core_util_critical_section_exit();
}
void CriticalSectionLock::enable()
{
core_util_critical_section_enter();