Home
last modified time | relevance | path

Searched refs:fileLock (Results 1 – 2 of 2) sorted by relevance

/build/soong/ui/build/
Dproc_sync.go32 func BecomeSingletonOrFail(ctx Context, config Config) (lock *fileLock) {
58 var _ lockable = (*fileLock)(nil)
60 type fileLock struct { struct
64 func (l fileLock) description() (path string) { argument
67 func (l fileLock) tryLock() (err error) { argument
70 func (l fileLock) Unlock() (err error) { argument
105 func newLock(basedir string) (lock *fileLock, err error) {
113 lockingInfo := &fileLock{File: lockfileDescriptor}
Dproc_sync_test.go33 func lockOrFail(t *testing.T) (lock fileLock) {
35 var lockPointer *fileLock
46 func removeTestLock(fileLock fileLock) { argument
47 lockdir := filepath.Dir(fileLock.File.Name())