Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for writeBlock (0.44 sec)

  1. src/net/fd_windows.go

    	}
    	return err
    }
    
    // Always returns nil for connected peer address result.
    func (fd *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) (syscall.Sockaddr, error) {
    	// Do not need to call fd.writeLock here,
    	// because fd is not yet accessible to user,
    	// so no concurrent operations are possible.
    	if err := fd.init(); err != nil {
    		return nil, err
    	}
    
    	if ctx.Done() != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/net/fd_unix.go

    		rs = fd.raddr.String()
    	}
    	return fd.net + ":" + ls + "->" + rs
    }
    
    func (fd *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) (rsa syscall.Sockaddr, ret error) {
    	// Do not need to call fd.writeLock here,
    	// because fd is not yet accessible to user,
    	// so no concurrent operations are possible.
    	switch err := connectFunc(fd.pfd.Sysfd, ra); err {
    	case syscall.EINPROGRESS, syscall.EALREADY, syscall.EINTR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 20:19:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

    package filelock
    
    import (
    	"errors"
    	"io"
    	"io/fs"
    	"math/rand"
    	"sync"
    	"syscall"
    	"time"
    )
    
    type lockType int16
    
    const (
    	readLock  lockType = syscall.F_RDLCK
    	writeLock lockType = syscall.F_WRLCK
    )
    
    type inode = uint64 // type of syscall.Stat_t.Ino
    
    type inodeLock struct {
    	owner File
    	queue []<-chan File
    }
    
    var (
    	mu     sync.Mutex
    	inodes = map[File]inode{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DependencyLockingGraphVisitor.java

            if (changingResolvedModules == null) {
                changingResolvedModules = new HashSet<>();
            }
            changingResolvedModules.add(id);
        }
    
        public void writeLocks() {
            if (!lockOutOfDate) {
                Set<ModuleComponentIdentifier> changingModules = this.changingResolvedModules == null ? Collections.emptySet() : this.changingResolvedModules;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top