File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -59,24 +59,6 @@ class CriticalSectionLock {
5959
6060 ~CriticalSectionLock ();
6161
62- /* * Mark the start of a critical section
63- * @deprecated This function is inconsistent with RAII and is being removed in the future. Replaced by static function CriticalSectionLock::enable.
64- *
65- */
66- MBED_DEPRECATED_SINCE (" mbed-os-5.8" ,
67- " This function is inconsistent with RAII and is being removed in the future."
68- " Replaced by static function CriticalSectionLock::enable." )
69- void lock ();
70-
71- /* * Mark the end of a critical section
72- * @deprecated This function is inconsistent with RAII and is being removed in the future. Replaced by static function CriticalSectionLock::enable.
73- *
74- */
75- MBED_DEPRECATED_SINCE (" mbed-os-5.8" ,
76- " This function is inconsistent with RAII and is being removed in the future."
77- " Replaced by static function CriticalSectionLock::disable." )
78- void unlock ();
79-
8062 /* * Mark the start of a critical section
8163 */
8264 static void enable ();
Original file line number Diff line number Diff line change @@ -30,16 +30,6 @@ CriticalSectionLock::~CriticalSectionLock()
3030 core_util_critical_section_exit ();
3131}
3232
33- void CriticalSectionLock::lock ()
34- {
35- core_util_critical_section_enter ();
36- }
37-
38- void CriticalSectionLock::unlock ()
39- {
40- core_util_critical_section_exit ();
41- }
42-
4333void CriticalSectionLock::enable ()
4434{
4535 core_util_critical_section_enter ();
You can’t perform that action at this time.
0 commit comments