Skip to content

Commit a54299b

Browse files
committed
thread: remove acl_is_locked_callback as legacy emulator library is deprecated
1 parent 141a72c commit a54299b

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/acl_thread.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ void acl_signal_device_update();
8282

8383
static inline int acl_is_locked() { return (acl_global_lock_count > 0); }
8484

85-
// Used by dynamically loaded libs to check lock status.
86-
int acl_is_locked_callback(void);
87-
8885
static inline void acl_assert_locked() { assert(acl_is_locked()); }
8986

9087
static inline void acl_assert_locked_or_sig() {

src/acl_thread.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ void acl_mutex_wrapper_t::unlock() {
3636
}
3737
}
3838

39-
int acl_is_locked_callback(void) { return (acl_global_lock_count > 0); }
40-
4139
int acl_mutex_wrapper_t::suspend_lock() {
4240
int old_lock_count = acl_global_lock_count;
4341
acl_global_lock_count = 0;

0 commit comments

Comments
 (0)