Home
last modified time | relevance | path

Searched refs:locks (Results 1 – 25 of 183) sorted by relevance

12345678

/third_party/boost/libs/thread/test/
DJamfile.v2530 …[ thread-compile-fail ./sync/mutual_exclusion/locks/lock_guard/copy_assign_fail.cpp : : lock_guard…
531 …[ thread-compile-fail ./sync/mutual_exclusion/locks/lock_guard/copy_ctor_fail.cpp : : lock_guard__…
532 …[ thread-safety-compile ./sync/mutual_exclusion/locks/lock_guard/lock_guard_compile_pass.cpp : : l…
533 …[ thread-safety-compile-fail ./sync/mutual_exclusion/locks/lock_guard/lock_guard_compile_fail.cpp …
534 …[ thread-safety-compile ./sync/mutual_exclusion/locks/lock_guard/lock_guard_adopt_lock_compile_pas…
535 …[ thread-safety-compile-fail ./sync/mutual_exclusion/locks/lock_guard/lock_guard_adopt_lock_compil…
536 …[ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/adopt_lock_pass.cpp : lock_guard__cons…
537 …[ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/default_pass.cpp : lock_guard__cons__d…
538 … [ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/types_pass.cpp : lock_guard__types_p ]
539 …[ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/make_lock_guard_pass.cpp : make_lock_g…
[all …]
/third_party/boost/boost/thread/futures/
Dwait_for_any.hpp59 boost::scoped_array<boost::unique_lock<boost::mutex> > locks; member
62 count(waiters.size()), locks(new boost::unique_lock<boost::mutex>[count]) in all_futures_lock()
66locks[i] = BOOST_THREAD_MAKE_RV_REF(boost::unique_lock<boost::mutex>(waiters[i].future_->mutex())); in all_futures_lock()
72 boost::lock(locks.get(), locks.get() + count); in lock()
79 locks[i].unlock(); in unlock()
129 if (waiters_[i].future_->is_ready(lk.locks[i])) in wait()
/third_party/glib/glib/tests/
Drec-mutex.c78 GRecMutex locks[LOCKS]; variable
87 if (!g_rec_mutex_trylock (&locks[nr])) in acquire()
92 g_rec_mutex_lock (&locks[nr]); in acquire()
107 g_rec_mutex_lock (&locks[nr]); /* we're recursive, after all */ in acquire()
111 g_rec_mutex_unlock (&locks[nr]); in acquire()
119 g_rec_mutex_unlock (&locks[nr]); in acquire()
145 g_rec_mutex_init (&locks[i]); in test_rec_mutex4()
154 g_rec_mutex_clear (&locks[i]); in test_rec_mutex4()
Dmutex.c91 GMutex locks[LOCKS]; variable
100 if (!g_mutex_trylock (&locks[nr])) in acquire()
105 g_mutex_lock (&locks[nr]); in acquire()
119 g_mutex_unlock (&locks[nr]); in acquire()
145 g_mutex_init (&locks[i]); in test_mutex5()
154 g_mutex_clear (&locks[i]); in test_mutex5()
D1bit-mutex.c60 volatile gint locks[LOCKS]; variable
76 : g_bit_trylock (&locks[nr], bits[nr]))) in acquire()
84 g_bit_lock (&locks[nr], bits[nr]); in acquire()
101 g_bit_unlock (&locks[nr], bits[nr]); in acquire()
152 g_assert (locks[i] == 0); in testcase()
Drwlock.c118 GRWLock locks[LOCKS]; variable
127 if (!g_rw_lock_writer_trylock (&locks[nr])) in acquire()
132 g_rw_lock_writer_lock (&locks[nr]); in acquire()
146 g_rw_lock_writer_unlock (&locks[nr]); in acquire()
172 g_rw_lock_init (&locks[i]); in test_rwlock7()
181 g_rw_lock_clear (&locks[i]); in test_rwlock7()
/third_party/node/deps/npm/docs/content/cli-commands/
Dnpm-shrinkwrap.md23 of package locks in npm, see [package-locks](/configuring-npm/package-locks).
31 * [package-locks](/configuring-npm/package-locks)
Dnpm-ci.md62 * It will never write to `package.json` or any of the package-locks: installs are essentially froze…
67 * [package-locks](/configuring-npm/package-locks)
Dnpm-prune.md35 In normal operation with package-locks enabled, extraneous modules are
39 If you've disabled package-locks then extraneous modules will not be removed
/third_party/node/deps/npm/node_modules/lockfile/
Dlockfile.js27 var locks = {} variable
37 Object.keys(locks).forEach(exports.unlockSync)
51 try { Object.keys(locks).forEach(exports.unlockSync) } catch (e) {}
61 delete locks[path]
69 delete locks[path]
170 locks[path] = fd
278 locks[path] = fd
DREADME.md30 All known locks are removed when the process exits. Of course, it's
66 A number of milliseconds to wait for locks to expire before giving up.
78 A number of milliseconds before locks are considered to have expired.
/third_party/python/Lib/asyncio/
Dstaggered.py10 from . import locks
83 previous_failed: typing.Optional[locks.Event]) -> None:
98 this_failed = locks.Event()
D__init__.py13 from .locks import *
28 locks.__all__ +
Dqueues.py6 from . import locks
41 self._finished = locks.Event()
/third_party/curl/tests/libtest/
Dlib506.c40 static int locks[3]; variable
72 if(locks[locknum]) { in my_lock()
76 locks[locknum]++; in my_lock()
108 if(!locks[locknum]) { in my_unlock()
112 locks[locknum]--; in my_unlock()
/third_party/boost/libs/thread/doc/
Dsync_tutorial.qbk14 …able Rationale] adds rationale for the design decisions made for mutexes, locks and condition vari…
17 In addition to the C++11 standard locks, Boost.Thread provides other locks and some utilities that …
Dthread.qbk136 [template owns_lock_ref_link[link_text] [link thread.synchronization.locks.unique_lock.owns_lock [l…
140 [template owns_lock_shared_ref_link[link_text] [link thread.synchronization.locks.shared_lock.owns_…
143 [template mutex_func_ref_link[link_text] [link thread.synchronization.locks.unique_lock.mutex [link…
162 [template unique_lock_link[link_text] [link thread.synchronization.locks.unique_lock [link_text]]]
167 [def __shared_lock__ [link thread.synchronization.locks.shared_lock `boost::shared_lock`]]
168 [def __upgrade_lock__ [link thread.synchronization.locks.upgrade_lock `boost::upgrade_lock`]]
169 [def __upgrade_to_unique_lock__ [link thread.synchronization.locks.upgrade_to_unique_lock `boost::u…
/third_party/openssl/doc/man3/
DCRYPTO_THREAD_run_once.pod46 In particular, this can be used to allocate locks in a thread-safe manner,
56 CRYPTO_THREAD_read_lock() locks the provided B<lock> for reading.
60 CRYPTO_THREAD_write_lock() locks the provided B<lock> for writing.
141 Finalization of locks is an advanced topic, not covered in this example.
145 repeatedly load/unload shared libraries that allocate locks.
/third_party/python/Lib/test/test_importlib/
Dtest_locks.py57 locks = [self.LockType(str(i)) for i in range(NLOCKS)]
58 pairs = [(locks[i], locks[(i+1)%NLOCKS]) for i in range(NLOCKS)]
/third_party/flutter/skia/third_party/externals/sdl/src/atomic/
DSDL_atomic.c66 static SDL_SpinLock locks[32]; variable
73 SDL_AtomicLock(&locks[index]); in enterLock()
81 SDL_AtomicUnlock(&locks[index]); in leaveLock()
/third_party/mesa3d/src/gtest/include/gtest/internal/custom/
DREADME.md42 * `GTEST_EXCLUSIVE_LOCK_REQUIRED_(locks)`
43 * `GTEST_LOCK_EXCLUDED_(locks)`
/third_party/googletest/googletest/include/gtest/internal/custom/
DREADME.md42 * `GTEST_EXCLUSIVE_LOCK_REQUIRED_(locks)`
43 * `GTEST_LOCK_EXCLUDED_(locks)`
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex.cc516 } locks[40]; member
1184 while (i != n && held_locks->locks[i].id != id) { in LockEnter()
1188 if (n == ABSL_ARRAYSIZE(held_locks->locks)) { in LockEnter()
1191 held_locks->locks[i].mu = mu; in LockEnter()
1192 held_locks->locks[i].count = 1; in LockEnter()
1193 held_locks->locks[i].id = id; in LockEnter()
1197 held_locks->locks[i].count++; in LockEnter()
1208 while (i != n && held_locks->locks[i].id != id) { in LockLeave()
1216 while (i != n && held_locks->locks[i].mu != mu) { in LockLeave()
1228 } else if (held_locks->locks[i].count == 1) { in LockLeave()
[all …]
/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc505 } locks[40]; member
1175 while (i != n && held_locks->locks[i].id != id) { in LockEnter()
1179 if (n == ABSL_ARRAYSIZE(held_locks->locks)) { in LockEnter()
1182 held_locks->locks[i].mu = mu; in LockEnter()
1183 held_locks->locks[i].count = 1; in LockEnter()
1184 held_locks->locks[i].id = id; in LockEnter()
1188 held_locks->locks[i].count++; in LockEnter()
1199 while (i != n && held_locks->locks[i].id != id) { in LockLeave()
1207 while (i != n && held_locks->locks[i].mu != mu) { in LockLeave()
1219 } else if (held_locks->locks[i].count == 1) { in LockLeave()
[all …]
/third_party/libxml2/os400/libxmlrpg/
Dthreads.rpgle15 * xmlMutex are a simple mutual exception locks.
19 * xmlRMutex are reentrant mutual exception locks.

12345678