Home
last modified time | relevance | path

Searched refs:InterruptSpinLock (Results 1 – 24 of 24) sorted by relevance

/external/pigweed/pw_sync/public/pw_sync/
Dinterrupt_spin_lock.h47 class PW_LOCKABLE("pw::sync::InterruptSpinLock") InterruptSpinLock {
51 constexpr InterruptSpinLock();
52 ~InterruptSpinLock() = default;
53 InterruptSpinLock(const InterruptSpinLock&) = delete;
54 InterruptSpinLock(InterruptSpinLock&&) = delete;
55 InterruptSpinLock& operator=(const InterruptSpinLock&) = delete;
56 InterruptSpinLock& operator=(InterruptSpinLock&&) = delete;
86 using pw_sync_InterruptSpinLock = pw::sync::InterruptSpinLock;
/external/pigweed/pw_sync/
Dinterrupt_spin_lock_facade_test.cc34 TEST(InterruptSpinLock, LockUnlock) { in TEST() argument
35 pw::sync::InterruptSpinLock interrupt_spin_lock; in TEST()
42 InterruptSpinLock static_interrupt_spin_lock;
43 TEST(InterruptSpinLock, LockUnlockStatic) { in TEST() argument
50 TEST(InterruptSpinLock, TryLockUnlock) { in TEST() argument
51 pw::sync::InterruptSpinLock interrupt_spin_lock; in TEST()
61 TEST(InterruptSpinLock, LockUnlockInC) { in TEST() argument
62 pw::sync::InterruptSpinLock interrupt_spin_lock; in TEST()
67 TEST(InterruptSpinLock, TryLockUnlockInC) { in TEST() argument
68 pw::sync::InterruptSpinLock interrupt_spin_lock; in TEST()
Ddocs.rst439 InterruptSpinLock section in Critical Section Lock Primitives
441 The InterruptSpinLock is a synchronization primitive that can be used to protect
448 This InterruptSpinLock relies on built-in local interrupt masking to make it
456 The InterruptSpinLock is a
482 .. cpp:class:: pw::sync::InterruptSpinLock argument
509 * - ``InterruptSpinLock::InterruptSpinLock``
513 * - ``InterruptSpinLock::~InterruptSpinLock``
517 * - ``void InterruptSpinLock::lock``
521 * - ``bool InterruptSpinLock::try_lock``
525 * - ``void InterruptSpinLock::unlock``
[all …]
/external/pigweed/pw_sync_baremetal/public/pw_sync_baremetal/
Dinterrupt_spin_lock_inline.h22 constexpr InterruptSpinLock::InterruptSpinLock() : native_type_() {} in InterruptSpinLock() function
24 inline void InterruptSpinLock::lock() { PW_ASSERT(try_lock()); } in lock()
26 inline bool InterruptSpinLock::try_lock() { in try_lock()
31 inline void InterruptSpinLock::unlock() { in unlock()
35 inline InterruptSpinLock::native_handle_type
36 InterruptSpinLock::native_handle() { in native_handle()
/external/pigweed/pw_sync_stl/public/pw_sync_stl/
Dinterrupt_spin_lock_inline.h21 constexpr InterruptSpinLock::InterruptSpinLock() : native_type_() {} in InterruptSpinLock() function
23 inline void InterruptSpinLock::lock() { in lock()
29 inline bool InterruptSpinLock::try_lock() { in try_lock()
33 inline void InterruptSpinLock::unlock() { in unlock()
37 inline InterruptSpinLock::native_handle_type
38 InterruptSpinLock::native_handle() { in native_handle()
/external/pigweed/pw_sync_embos/public/pw_sync_embos/
Dinterrupt_spin_lock_inline.h20 constexpr InterruptSpinLock::InterruptSpinLock() in InterruptSpinLock() function
23 inline InterruptSpinLock::native_handle_type
24 InterruptSpinLock::native_handle() { in native_handle()
/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/
Dinterrupt_spin_lock_inline.h20 constexpr InterruptSpinLock::InterruptSpinLock() in InterruptSpinLock() function
23 inline InterruptSpinLock::native_handle_type
24 InterruptSpinLock::native_handle() { in native_handle()
/external/pigweed/pw_sync_threadx/public/pw_sync_threadx/
Dinterrupt_spin_lock_inline.h20 constexpr InterruptSpinLock::InterruptSpinLock() in InterruptSpinLock() function
23 inline InterruptSpinLock::native_handle_type
24 InterruptSpinLock::native_handle() { in native_handle()
/external/pigweed/pw_sync_embos/
Dinterrupt_spin_lock.cc22 void InterruptSpinLock::lock() { in lock()
30 bool InterruptSpinLock::try_lock() { in try_lock()
40 void InterruptSpinLock::unlock() { in unlock()
DBUILD.gn135 # This target provides the backend for pw::sync::InterruptSpinLock.
/external/pigweed/pw_sync_threadx/
Dinterrupt_spin_lock.cc22 void InterruptSpinLock::lock() { in lock()
36 bool InterruptSpinLock::try_lock() { in try_lock()
52 void InterruptSpinLock::unlock() { in unlock()
DBUILD.gn143 # This target provides the backend for pw::sync::InterruptSpinLock, note that
/external/pigweed/pw_sync_freertos/
Dinterrupt_spin_lock.cc23 void InterruptSpinLock::lock() { in lock()
35 bool InterruptSpinLock::try_lock() { in try_lock()
56 void InterruptSpinLock::unlock() { in unlock()
DBUILD.gn135 # This target provides the backend for pw::sync::InterruptSpinLock.
/external/pigweed/pw_log_sink/
Dlog_sink.cc44 pw::sync::InterruptSpinLock& sink_list_lock() { in sink_list_lock()
47 static pw::sync::InterruptSpinLock sink_list_lock; in sink_list_lock()
92 const std::lock_guard<pw::sync::InterruptSpinLock> lock(sink_list_lock()); in pw_LogSink_Log()
/external/pigweed/pw_chrono_threadx/
Dsystem_clock.cc32 sync::InterruptSpinLock system_clock_interrupt_spin_lock;
Ddocs.rst17 InterruptSpinLock is used to manage overflows in a thread and interrupt safe
/external/pigweed/pw_chrono_freertos/
Dsystem_clock.cc30 sync::InterruptSpinLock system_clock_interrupt_spin_lock;
Ddocs.rst17 ``xTaskGetTickCount()`` based on the current context. An InterruptSpinLock is
/external/pigweed/pw_chrono_embos/
Dsystem_clock.cc28 sync::InterruptSpinLock system_clock_interrupt_spin_lock;
Ddocs.rst17 InterruptSpinLock is used to manage overflows in a thread and interrupt safe
/external/pigweed/pw_chrono/public/pw_chrono/
Dsimulated_system_clock.h66 sync::InterruptSpinLock interrupt_spin_lock_;
/external/pigweed/pw_sync_baremetal/
DBUILD.gn31 # This target provides the backend for pw::sync::InterruptSpinLock.
/external/pigweed/pw_sync_stl/
DBUILD.gn115 # This target provides the backend for pw::sync::InterruptSpinLock.