Home
last modified time | relevance | path

Searched full:acquired (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/concurrency/
DAsyncLock.ets48 * Perform an operation with the acquired lock exclusively.
52 * @param { AsyncLockCallback<T> } callback - function to call when the lock gets acquired.
60 * Perform an operation with the acquired lock.
64 * @param { AsyncLockCallback<T> } callback - function to call when the lock gets acquired.
73 * Perform an operation with the acquired lock.
77 …* resulting promise with a BusinessError instance if the lock is not acquired before timeout excee…
81 * @param { AsyncLockCallback<T> } callback - function to call when the lock gets acquired.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_extension/
Dindex.ts80 //@ts-ignore -- to ignore compile-time check, as TSTestUserClass is only acquired in runtime
85 //@ts-ignore -- to ignore compile-time check, as TSTestUserClass is only acquired in runtime
99 //@ts-ignore -- to ignore compile-time check, as TSTestUserClass is only acquired in runtime
/arkcompiler/runtime_core/static_core/runtime/
Dmonitor.cpp94 // and try inflating light monitor (`Inflate` expects lock to still be acquired by target; in InflateThinLock()
101 // monitor still acquired. in InflateThinLock()
102 // We are trying to inflate light lock acquired by other thread, suspend it first in InflateThinLock()
116 // NB! Inflate can do nothing if monitor is already unlocked or acquired by other thread. in InflateThinLock()
151 … LOG(DEBUG, RUNTIME) << "The lightweight monitor was successfully recursively acquired"; in HandleLightLockedState()
161 // Lock acquired by other thread. in HandleLightLockedState()
219 … LOG(DEBUG, RUNTIME) << "The lightweight monitor was successfully acquired for the first time"; in HandleUnlockedState()
251 …* @param trylock is true if the function should fail in case of lock was already acquired by othe…
390 // The monitor is acquired by other thread in WaitWithHeavyLockedState()
392 … LOG(ERROR, RUNTIME) << "Illegal monitor state: try to wait with monitor acquired by other thread"; in WaitWithHeavyLockedState()
[all …]
Dthread_pool_queue.h33 // All methods (except for Finalize) require an acquired lock from a thread pool.
Dmonitor.h77 // Potential drawback: infrustructure to detect, when the monitor is not acquired by any thread and…
142 * @return true if object's monitor was found, acquired and freed; false otherwise
/arkcompiler/ets_runtime/common_components/mutator/
Dmutator_manager.cpp194 bool acquired = TryAcquireMutatorManagementWLock(); in AcquireMutatorManagementWLock() local
195 while (!acquired) { in AcquireMutatorManagementWLock()
197 acquired = TryAcquireMutatorManagementWLock(); in AcquireMutatorManagementWLock()
199 if (!acquired && ((now - start) / SECOND_TO_NANO_SECOND > WAIT_LOCK_TIMEOUT)) { in AcquireMutatorManagementWLock()
209 bool acquired = TryAcquireMutatorManagementWLock(); in AcquireMutatorManagementWLockForCpuProfile() local
210 while (!acquired) { in AcquireMutatorManagementWLockForCpuProfile()
212 acquired = TryAcquireMutatorManagementWLock(); in AcquireMutatorManagementWLockForCpuProfile()
214 if (!acquired && ((now - start) / SECOND_TO_NANO_SECOND > WAIT_LOCK_TIMEOUT)) { in AcquireMutatorManagementWLockForCpuProfile()
219 return acquired; in AcquireMutatorManagementWLockForCpuProfile()
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dmonitor.yaml79 … that case monitor is acquired by thread and monitor count is set to 1. The thread becomes the
85acquired. Other threads may try to gain ownership of the monitor. If thread tries to execute monit…
312 will acquired the monitor when other thread will release it
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/arraybuffer_ops/
Daccessors_test.cpp35 * @brief Checks that changes in natively-acquired array are visible by managed `at` method
62 … * @brief Checks that changes through managed `set` method are visible in natively-acquired array
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/
DREADME.md104 …vialType` is interpreted as whole (string) and isn't used for destructuring result acquired from ts
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/ets_es_checked/generate-es-checked/
DREADME.md104 …vialType` is interpreted as whole (string) and isn't used for destructuring result acquired from ts
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DSyncPrimitives.ets150 … The method provides exclusive access to the critical section if the lock is successfully acquired.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/native/array_buffer/
Dmanaged_test.cpp41 * @brief Checks that changes in natively-acquired array are visible by managed `at` method
65 … * @brief Checks that changes through managed `set` method are visible in natively-acquired array
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dscoped_tmp_reg.h26 …* @tparam lazy if true, temp register will be acquired in the constructor, otherwise user should a…
/arkcompiler/runtime_core/static_core/runtime/include/
Dthread_proxy_static.h134 // mutator lock should be acquired before change status in StoreStatus()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_sync_primitives.h267 /// This method should be used to make sure that spinlock is acquired by current coroutine.
/arkcompiler/toolchain/websocket/
Dwebsocket_base.cpp202 // Shared lock due to other thread possibly hanging on `recv` with acquired shared lock. in CloseConnectionSocket()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/concurrency/
DAsyncLockTest.ets337 throw new Error('Test failed: inner lock acquired.');
356 throw new Error('Test failed: acquired the inner lock A.');
/arkcompiler/runtime_core/static_core/runtime/include/tooling/
Ddebug_interface.h292 …is called by the runtime when a thread is attempting to enter a monitor already acquired by another
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/
Dpromise_tests.ets447 …* - this triggers PandaEtsVM::AddPromiseListener, which acquires already acquired promise_list…
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/
Dencode.cpp190 ASSERT_PRINT(lrAcquired_, "Trying to release LR, which hasn't been acquired before"); in ReleaseScratchRegister()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/
Dencode.cpp3203 ASSERT_PRINT(lrAcquired_, "Trying to release LR, which hasn't been acquired before"); in ReleaseScratchRegister()