Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 742 for Flock (0.28 sec)

  1. api/go1.3.txt

    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pad_cgo_1 [4]uint8
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pid int32
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Start int64
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Type int16
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Whence int16
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  2. internal/lock/lock_solaris.go

    		}
    	}
    
    	return &LockedFile{f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  3. internal/lock/lock_nix.go

    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.LOCK_NB)
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	// https://issuetracker.google.com/issues/73230216.
    	lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock")
    	lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return 0, err
    	}
    	defer lock.Close()
    	if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil {
    		return 0, err
    	}
    
    	// In case we're booting a device or emulator alongside all.bash, wait for
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. api/go1.2.txt

    pkg syscall (freebsd-arm), type Flock_t struct
    pkg syscall (freebsd-arm), type Flock_t struct, Len int64
    pkg syscall (freebsd-arm), type Flock_t struct, Pid int32
    pkg syscall (freebsd-arm), type Flock_t struct, Start int64
    pkg syscall (freebsd-arm), type Flock_t struct, Sysid int32
    pkg syscall (freebsd-arm), type Flock_t struct, Type int16
    pkg syscall (freebsd-arm), type Flock_t struct, Whence int16
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  6. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const LOCK_EX = 2 #53466
    pkg syscall (freebsd-riscv64), const LOCK_EX ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_NB = 4 #53466
    pkg syscall (freebsd-riscv64), const LOCK_NB ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_SH = 1 #53466
    pkg syscall (freebsd-riscv64), const LOCK_SH ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_UN = 8 #53466
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    var tmpdir string
    
    var (
    	devID    string
    	appID    string
    	teamID   string
    	bundleID string
    	deviceID string
    )
    
    // lock is a file lock to serialize iOS runs. It is global to avoid the
    // garbage collector finalizing it, closing the file and releasing the
    // lock prematurely.
    var lock *os.File
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("go_ios_exec: ")
    	if debug {
    		log.Println(strings.Join(os.Args, " "))
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  8. api/go1.14.txt

    pkg syscall (freebsd-arm64), const LOCK_EX = 2
    pkg syscall (freebsd-arm64), const LOCK_EX ideal-int
    pkg syscall (freebsd-arm64), const LOCK_NB = 4
    pkg syscall (freebsd-arm64), const LOCK_NB ideal-int
    pkg syscall (freebsd-arm64), const LOCK_SH = 1
    pkg syscall (freebsd-arm64), const LOCK_SH ideal-int
    pkg syscall (freebsd-arm64), const LOCK_UN = 8
    pkg syscall (freebsd-arm64), const LOCK_UN ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  9. api/go1.13.txt

    pkg syscall (netbsd-arm64), const LOCK_EX = 2
    pkg syscall (netbsd-arm64), const LOCK_EX ideal-int
    pkg syscall (netbsd-arm64), const LOCK_NB = 4
    pkg syscall (netbsd-arm64), const LOCK_NB ideal-int
    pkg syscall (netbsd-arm64), const LOCK_SH = 1
    pkg syscall (netbsd-arm64), const LOCK_SH ideal-int
    pkg syscall (netbsd-arm64), const LOCK_UN = 8
    pkg syscall (netbsd-arm64), const LOCK_UN ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg syscall (darwin-arm64), const LOCK_EX = 2
    pkg syscall (darwin-arm64), const LOCK_EX ideal-int
    pkg syscall (darwin-arm64), const LOCK_NB = 4
    pkg syscall (darwin-arm64), const LOCK_NB ideal-int
    pkg syscall (darwin-arm64), const LOCK_SH = 1
    pkg syscall (darwin-arm64), const LOCK_SH ideal-int
    pkg syscall (darwin-arm64), const LOCK_UN = 8
    pkg syscall (darwin-arm64), const LOCK_UN ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
Back to top