Home
last modified time | relevance | path

Searched refs:Spinlock (Results 1 – 14 of 14) sorted by relevance

/external/angle/src/common/
DSpinlock.h29 class Spinlock
32 Spinlock() noexcept;
42 inline Spinlock::Spinlock() noexcept : mLock(false) {} in Spinlock() function
44 inline bool Spinlock::try_lock() noexcept in try_lock()
51 inline void Spinlock::lock() noexcept in lock()
64 inline void Spinlock::unlock() noexcept in unlock()
/external/perfetto/src/profiling/memory/
Dscoped_spinlock.h31 struct Spinlock { struct
36 static_assert(sizeof(Spinlock) == 2, "spinlock size must be ABI independent"); argument
38 void PoisonSpinlock(Spinlock* lock);
49 ScopedSpinlock(Spinlock* lock, Mode mode) : lock_(lock) { in ScopedSpinlock()
92 Spinlock* lock_;
Dscoped_spinlock.cc41 void PoisonSpinlock(Spinlock* lock) { in PoisonSpinlock()
Dshared_ring_buffer.h180 static_assert(std::is_trivially_constructible<Spinlock>::value,
182 alignas(8) Spinlock spinlock;
Dclient_api.cc130 std::is_trivially_destructible<perfetto::profiling::Spinlock>::value,
132 perfetto::profiling::Spinlock g_client_lock{};
/external/rust/crates/crossbeam-channel/src/
Dutils.rs65 pub struct Spinlock<T> { struct
70 impl<T> Spinlock<T> { impl
72 pub fn new(value: T) -> Spinlock<T> { in new()
73 Spinlock { in new()
91 parent: &'a Spinlock<T>,
Dwaker.rs8 use crate::utils::Spinlock;
180 inner: Spinlock<Waker>,
191 inner: Spinlock::new(Waker::new()), in new()
/external/rust/crates/crossbeam-channel/src/flavors/
Dzero.rs15 use crate::utils::Spinlock;
85 inner: Spinlock<Inner>,
95 inner: Spinlock::new(Inner { in new()
/external/angle/src/libANGLE/
DCLDevice.h65 angle::SynchronizedValue<CommandQueue *, angle::Spinlock> mDefaultCommandQueue = nullptr;
DCLMemory.h90 angle::SynchronizedValue<std::stack<CallbackData>, angle::Spinlock> mDestructorCallbacks;
DCLProgram.h100 angle::SynchronizedValue<CallbackData, angle::Spinlock> mCallback;
/external/angle/src/libANGLE/renderer/cl/
DCLContextCL.h95 using MutableData = angle::SynchronizedValue<Mutable, angle::Spinlock>;
/external/rust/crates/spin/
DREADME.md9 This crate provides [spin-based](https://en.wikipedia.org/wiki/Spinlock)
/external/angle/src/
DlibGLESv2.gni22 "src/common/Spinlock.h",