/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
__init__.py | 50 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 94 The managers methods such as `Lock()`, `Condition()` and `Queue()` 171 def Lock(): 173 Returns a non-recursive lock object 175 from multiprocessing.synchronize import Lock 176 return Lock() 180 Returns a recursive lock object 185 def Condition(lock=None): 190 return Condition(lock)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
central_freelist.cc | 137 // Release central list lock while operating on pageheap 143 lock_.Lock(); 152 int t = race_counter++; // Updated without a lock, but who cares. 174 // However, we may have dropped and re-acquired the lock in 193 : held_(held), temp_(temp) { held_->Unlock(); temp_->Lock(); } 194 inline ~LockInverter() { temp_->Unlock(); held_->Lock(); } 199 // LockInverter to release one lock and acquire another in scoped-lock 203 // Start with a quick check without taking a lock. 208 // Grab lock, but first release the other lock held by this thread. We us [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
central_freelist.cc | 137 // Release central list lock while operating on pageheap 143 lock_.Lock(); 153 int t = race_counter++; // Updated without a lock, but who cares. 175 // However, we may have dropped and re-acquired the lock in 194 : held_(held), temp_(temp) { held_->Unlock(); temp_->Lock(); } 195 inline ~LockInverter() { temp_->Unlock(); held_->Lock(); } 200 // LockInverter to release one lock and acquire another in scoped-lock 204 // Start with a quick check without taking a lock. 209 // Grab lock, but first release the other lock held by this thread. We us [all...] |
memory_region_map.cc | 191 Lock(); 223 Lock(); 255 // * At entry and exit of Lock() and Unlock(), the current thread 258 void MemoryRegionMap::Lock() { 265 "recursive lock nesting unexpectedly deep"); 269 lock_.Lock(); 315 Lock(); 324 Lock(); 466 Lock(); // recursively lock [all...] |
/external/apache-http/src/org/apache/http/client/methods/ |
HttpRequestBase.java | 36 import java.util.concurrent.locks.Lock; 62 private Lock abortLock; 105 this.abortLock.lock(); 120 this.abortLock.lock(); 137 this.abortLock.lock(); 150 // Trigger the callbacks outside of the lock, to prevent
|
/external/chromium/chrome/browser/metrics/ |
thread_watcher.h | 44 #include "base/synchronization/lock.h" 265 // Lock for access to registered_. 266 base::Lock lock_; 315 // This lock protects watchdog_thread_. 316 static base::Lock lock_;
|
histogram_synchronizer.h | 15 #include "base/synchronization/lock.h" 123 base::Lock lock_;
|
/external/chromium_org/chrome/test/webdriver/ |
webdriver_logging.h | 14 #include "base/synchronization/lock.h" 105 base::Lock lock_; 124 base::Lock entries_lock_;
|
/external/chromium_org/ppapi/proxy/ |
plugin_globals.h | 12 #include "base/synchronization/lock.h" 67 virtual base::Lock* GetProxyLock() OVERRIDE; 146 base::Lock proxy_lock_;
|
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
IndexBuffer9.cpp | 102 HRESULT result = mIndexBuffer->Lock(offset, size, &mapPtr, lockFlags); 105 ERR("Index buffer lock failed with error 0x%08x", result); 168 result = mIndexBuffer->Lock(0, 1, &dummy, D3DLOCK_DISCARD); 171 ERR("Discard lock failed with error 0x%08x", result);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
env_test.cc | 75 s->mu.Lock(); 89 state.mu.Lock();
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_thread_registry.h | 84 void Lock() { mtx_.Lock(); }
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_test_util.h | 42 void Lock(); 98 void Lock(const Mutex &m);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 32 Lock l(mtx_); 57 typedef GenericScopedLock<MutexType> Lock;
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysmouse.cc | 109 if ( be_app->Lock() ) { 135 SDL_Win->Lock();
|
/external/smack/src/com/kenai/jbosh/ |
ApacheHTTPSender.java | 19 import java.util.concurrent.locks.Lock; 45 * Lock used for internal synchronization. 47 private final Lock lock = new ReentrantLock(); field in class:ApacheHTTPSender 77 lock.lock(); 82 lock.unlock(); 90 lock.lock(); 98 lock.unlock() [all...] |
/external/valgrind/main/helgrind/tests/ |
tc10_rec_lock.stderr.exp | 2 before lock #1 3 before lock #2 4 before lock #3 15 Thread #x unlocked a not-locked lock at 0x........ 19 Lock at 0x........ was first observed
|
/frameworks/base/core/java/android/speech/tts/ |
SynthesisPlaybackQueueItem.java | 23 import java.util.concurrent.locks.Lock; 44 private final Lock mListLock = new ReentrantLock(); 127 mListLock.lock(); 156 mListLock.lock(); 179 mListLock.lock(); 205 mListLock.lock();
|
/frameworks/av/services/camera/libcameraservice/api1/ |
Camera2Client.cpp | 64 SharedParameters::Lock l(mParameters); 80 SharedParameters::Lock l(mParameters); 140 SharedParameters::Lock l(mParameters); 309 result.appendFormat(" AE lock %s, AWB lock %s\n", 404 SharedParameters::Lock l(mParameters); 460 status_t Camera2Client::lock() { function in class:android::Camera2Client 464 ALOGV("%s: Camera %d: Lock call from pid %d; current client pid %d", 473 ALOGE("%s: Camera %d: Lock call from pid %d; currently locked to pid %d", 489 SharedParameters::Lock l(mParameters) [all...] |
/external/chromium/base/metrics/ |
stats_table.h | 29 #include "base/synchronization/lock.h" 153 // or 0 on failure. The caller must hold the shared_memory lock when 179 base::Lock counters_lock_;
|
/external/chromium/base/synchronization/ |
condition_variable_posix.cc | 11 #include "base/synchronization/lock.h" 16 ConditionVariable::ConditionVariable(Lock* user_lock)
|
waitable_event.h | 20 #include "base/synchronization/lock.h" 35 // Use a WaitableEvent when you would otherwise use a Lock+ConditionVariable to 37 // WaitableEvent in conjunction with a Lock to wait for a more complex state 153 base::Lock lock_;
|
/external/chromium/chrome/browser/chromeos/ |
audio_mixer_alsa.h | 12 #include "base/synchronization/lock.h" 59 // All these internal volume commands must be called with the lock held. 94 mutable base::Lock mixer_state_lock_;
|
/external/chromium/chrome/browser/importer/ |
firefox_profile_lock_posix.cc | 63 void FirefoxProfileLock::Lock() { 88 // This function tries to lock Firefox profile using fcntl(). The return 90 // of lock. 91 // if return == false: Another process has lock to the profile. 92 // if return == true && HasAcquired() == true: successfully acquired the lock. 93 // if return == false && HasAcquired() == false: Failed to acquire lock due 94 // to some error (so that we can try alternate method of profile lock). 101 struct flock lock; local 102 lock.l_start = 0; 103 lock.l_len = 0 [all...] |
/external/chromium/chrome/browser/policy/ |
enterprise_install_attributes_unittest.cc | 24 TEST_F(EnterpriseInstallAttributesTest, Lock) {
|