Home
last modified time | relevance | path

Searched refs:spinLock (Results 1 – 25 of 29) sorted by relevance

12

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/unit_test/utilities/
H A Dspinlock_tests.cpp21 SpinLock spinLock; in TEST() local
25 std::unique_lock<SpinLock> lock1{spinLock}; in TEST()
30 std::unique_lock<SpinLock> lock2{spinLock}; in TEST()
54 SpinLock spinLock; in TEST() local
55 auto workerThreadFunction = [&spinLock](bool expectedLockAcquired) { in TEST()
56 std::unique_lock<SpinLock> lock{spinLock, std::defer_lock}; in TEST()
62 std::unique_lock<SpinLock> lock{spinLock}; in TEST()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Threading/tests/Performance/
H A DPerf.SpinLock.cs14 SpinLock spinLock = new SpinLock(); in EnterExit()
24 spinLock.Enter(ref lockTaken); in EnterExit()
25 spinLock.Exit(); in EnterExit()
34 SpinLock spinLock = new SpinLock(); in TryEnterExit()
44 spinLock.TryEnter(0, ref lockTaken); in TryEnterExit()
45 spinLock.Exit(); in TryEnterExit()
/dports/devel/grpc130/grpc-1.30.2/src/csharp/Grpc.Core/Internal/
H A DCompletionRegistry.cs42 SpinLock spinLock = new SpinLock(Debugger.IsAttached); field in Grpc.Core.Internal.CompletionRegistry
59 spinLock.Enter(ref lockTaken); in Register()
66 if (lockTaken) spinLock.Exit(); in Register()
92 spinLock.Enter(ref lockTaken); in Extract()
99 if (lockTaken) spinLock.Exit(); in Extract()
/dports/devel/grpc/grpc-1.42.0/src/csharp/Grpc.Core/Internal/
H A DCompletionRegistry.cs42 SpinLock spinLock = new SpinLock(Debugger.IsAttached); field in Grpc.Core.Internal.CompletionRegistry
59 spinLock.Enter(ref lockTaken); in Register()
66 if (lockTaken) spinLock.Exit(); in Register()
92 spinLock.Enter(ref lockTaken); in Extract()
99 if (lockTaken) spinLock.Exit(); in Extract()
/dports/devel/grpc134/grpc-1.34.1/src/csharp/Grpc.Core/Internal/
H A DCompletionRegistry.cs42 SpinLock spinLock = new SpinLock(Debugger.IsAttached); field in Grpc.Core.Internal.CompletionRegistry
59 spinLock.Enter(ref lockTaken); in Register()
66 if (lockTaken) spinLock.Exit(); in Register()
92 spinLock.Enter(ref lockTaken); in Extract()
99 if (lockTaken) spinLock.Exit(); in Extract()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/csharp/Grpc.Core/Internal/
H A DCompletionRegistry.cs42 SpinLock spinLock = new SpinLock(Debugger.IsAttached); field in Grpc.Core.Internal.CompletionRegistry
59 spinLock.Enter(ref lockTaken); in Register()
66 if (lockTaken) spinLock.Exit(); in Register()
92 spinLock.Enter(ref lockTaken); in Extract()
99 if (lockTaken) spinLock.Exit(); in Extract()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/vm/
H A DDateTime.h109 static mozilla::Atomic<bool, mozilla::ReleaseAcquire> spinLock; variable
113 while (!spinLock.compareExchange(false, true)) in AcquireLock()
117 MOZ_ASSERT(spinLock, "spinlock should have been acquired"); in ~AcquireLock()
118 spinLock = false; in ~AcquireLock()
H A DDateTime.cpp28 js::DateTimeInfo::AcquireLock::spinLock; member in js::DateTimeInfo::AcquireLock
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/vm/
H A DDateTime.h109 static mozilla::Atomic<bool, mozilla::ReleaseAcquire> spinLock; variable
113 while (!spinLock.compareExchange(false, true)) in AcquireLock()
117 MOZ_ASSERT(spinLock, "spinlock should have been acquired"); in ~AcquireLock()
118 spinLock = false; in ~AcquireLock()
H A DDateTime.cpp28 js::DateTimeInfo::AcquireLock::spinLock; member in js::DateTimeInfo::AcquireLock
/dports/net/rclone/rclone-1.57.0/vendor/github.com/spacemonkeygo/monkit/v3/
H A Dspinlock.go22 type spinLock uint32 type
24 func (s *spinLock) Lock() {
33 func (s *spinLock) Unlock() {
H A Dctx.go29 mtx spinLock
/dports/net/storj/storj-1.45.3/vendor/github.com/spacemonkeygo/monkit/v3/
H A Dspinlock.go22 type spinLock uint32 type
24 func (s *spinLock) Lock() {
33 func (s *spinLock) Unlock() {
H A Dctx.go29 mtx spinLock
/dports/devel/folly/folly-2021.12.27.00/folly/ssl/detail/
H A DOpenSSLThreading.cpp83 spinLock.lock(); in lock()
98 spinLock.unlock(); in unlock()
110 folly::SpinLock spinLock{}; member
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/runtime/internal/atomic/
H A Datomic_mipsx.go21 func spinLock(state *uint32) func
35 spinLock(&lock.state)
H A Datomic_mipsx.s9 TEXT ·spinLock(SB),NOSPLIT,$0-4
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/runtime/internal/atomic/
H A Datomic_mipsx.go28 func spinLock(state *uint32) func
42 spinLock(&lock.state)
H A Datomic_mipsx.s9 TEXT ·spinLock(SB),NOSPLIT,$0-4
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/runtime/internal/atomic/
H A Datomic_mipsx.go28 func spinLock(state *uint32) func
42 spinLock(&lock.state)
H A Datomic_mipsx.s242 TEXT ·spinLock(SB),NOSPLIT,$0-4
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/Threading/
H A DSpinLock.cs649 public SystemThreading_SpinLockDebugView(SpinLock spinLock) in SystemThreading_SpinLockDebugView() argument
652 m_spinLock = spinLock; in SystemThreading_SpinLockDebugView()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/threading/
H A DSpinLock.cs733 public SystemThreading_SpinLockDebugView(SpinLock spinLock) in SystemThreading_SpinLockDebugView() argument
736 m_spinLock = spinLock; in SystemThreading_SpinLockDebugView()
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/WIL/include/wil/
H A Dresource.h5761 PKSPIN_LOCK spinLock = nullptr;
5777 return spinLock;
5784 KeReleaseSpinLock(spinLockSavedIrql.spinLock, spinLockSavedIrql.savedIrql);
5792 void __stdcall ReleaseSpinLockFromDpcLevel(_Inout_ PKSPIN_LOCK spinLock) WI_NOEXCEPT
5794 KeReleaseSpinLockFromDpcLevel(spinLock);
5810 acquire_kspin_lock(_In_ PKSPIN_LOCK spinLock)
5813 KeAcquireSpinLock(spinLock, &spinLockSavedIrql.savedIrql);
5814 spinLockSavedIrql.spinLock = spinLock;
5822 acquire_kspin_lock_at_dpc(_In_ PKSPIN_LOCK spinLock)
5824 KeAcquireSpinLockAtDpcLevel(spinLock);
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/builtin/
H A DTestingFunctions.cpp5644 static mozilla::Atomic<bool, mozilla::ReleaseAcquire> spinLock; local
5645 while (!spinLock.compareExchange(false, true)) {
5652 spinLock = false;

12