Home
last modified time | relevance | path

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

/build/soong/ui/status/
Dstatus.go188 lock sync.Mutex member
198 s.lock.Lock()
199 defer s.lock.Unlock()
215 s.lock.Lock()
216 defer s.lock.Unlock()
224 s.lock.Lock()
225 defer s.lock.Unlock()
231 s.lock.Lock()
232 defer s.lock.Unlock()
243 s.lock.Lock()
[all …]
/build/soong/ui/terminal/
Dwriter.go98 lock sync.Mutex member
120 w.lock.Lock()
121 defer w.lock.Unlock()
137 w.lock.Lock()
138 defer w.lock.Unlock()
179 w.lock.Lock()
180 defer w.lock.Unlock()
188 w.lock.Lock()
189 defer w.lock.Unlock()
/build/soong/ui/build/
Dproc_sync.go32 func BecomeSingletonOrFail(ctx Context, config Config) (lock *fileLock) {
69 func lockSynchronous(lock lockable, waiter waiter, logger logger.Logger) (err error) {
74 err = lock.tryLock()
78 …uired lock on %v; previous Soong process must have completed. Continuing...\n", lock.description())
89 lock.description(), waiter.summarize())
91 …no other Soong process is running in the same output directory\n", description, lock.description())
97 func newLock(basedir string) (lock *fileLock, err error) {
Dproc_sync_test.go33 func lockOrFail(t *testing.T) (lock fileLock) {
84 func testLockCountingTo(index int) (lock *countLock) {
208 lock := testLockCountingTo(0)
210 err := lockSynchronous(lock, waiter, noopLogger)
220 lock := testLockCountingTo(2)
222 err := lockSynchronous(lock, waiter, noopLogger)
232 lock := testLockCountingTo(3)
234 err := lockSynchronous(lock, waiter, noopLogger)
236 …on %v which should not be available until iteration %v", waiter.numWaitsElapsed, lock.successIndex)
/build/soong/ui/tracer/
Dtracer.go57 lock sync.Mutex member
129 t.lock.Lock()
130 defer t.lock.Unlock()
159 t.lock.Lock()
160 defer t.lock.Unlock()
166 t.lock.Lock()
167 defer t.lock.Unlock()
206 t.lock.Lock()
207 defer t.lock.Unlock()
/build/kati/
Dthread_pool.cc40 unique_lock<mutex> lock(mu_); in Submit() local
47 unique_lock<mutex> lock(mu_); in Wait() local
64 unique_lock<mutex> lock(mu_); in Loop() local
68 cond_.wait(lock); in Loop()
Dstats.cc38 unique_lock<mutex> lock(g_mu); in Stats() local
45 unique_lock<mutex> lock(mu_); in DumpTop() local
60 unique_lock<mutex> lock(mu_); in String() local
67 unique_lock<mutex> lock(mu_); in Start() local
75 unique_lock<mutex> lock(mu_); in End() local
Dregen.cc436 unique_lock<mutex> lock(mu_); in CheckStep2() local
451 unique_lock<mutex> lock(mu_); in CheckStep2() local
Dninja.cc581 unique_lock<mutex> lock(mu_); in EmitBuild() local
/build/soong/android/
Dnamespace.go41 lock sync.Mutex member
47 s.lock.Lock()
48 defer s.lock.Unlock()
56 s.lock.Lock()
57 defer s.lock.Unlock()
/build/make/tools/releasetools/
Dcommon.py1837 lock = threading.Lock()
1842 lock.acquire()
1844 lock.release()
1848 lock.acquire()
1861 lock.release()
Dblockimgdiff.py1354 lock = threading.Lock()
1358 with lock:
1401 with lock:
1404 with lock:
/build/soong/finder/
Dfinder.go298 f.lock()
393 func (f *Finder) lock() { func
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dprettify.js19 …mic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override…