Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 815 for fslock (0.14 sec)

  1. internal/bucket/object/lock/lock.go

    	AmzObjectLockRetainUntilDate     = "X-Amz-Object-Lock-Retain-Until-Date"
    	AmzObjectLockMode                = "X-Amz-Object-Lock-Mode"
    	AmzObjectLockLegalHold           = "X-Amz-Object-Lock-Legal-Hold"
    )
    
    var (
    	// ErrMalformedBucketObjectConfig -indicates that the bucket object lock config is malformed
    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer.go

    func (r *RingBuffer) Reset() {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	// Set error so any readers/writers will return immediately.
    	r.setErr(errors.New("reset called"), true)
    	if r.block {
    		r.readCond.Broadcast()
    		r.writeCond.Broadcast()
    	}
    
    	// Unlock the mutex so readers/writers can finish.
    	r.mu.Unlock()
    	r.wg.Wait()
    	r.mu.Lock()
    	r.r = 0
    	r.w = 0
    	r.err = nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

    	// returned when “the lock is blocked by a lock from another process”.
    	// If that process is blocked on some lock that we are holding, then the
    	// resulting livelock is due to a real deadlock (and would manifest as such
    	// when using, for example, the flock implementation of this package).
    	// If the other process is *not* blocked on some other lock that we are
    	// holding, then it will eventually release the requested lock.
    
    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. internal/dsync/lock-args.go

    // LockArgs is minimal required values for any dsync compatible lock operation.
    type LockArgs struct {
    	// Unique ID of lock/unlock request.
    	UID string
    
    	// Resources contains single or multiple entries to be locked/unlocked.
    	Resources []string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    	Source string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 04:34:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

    Michael Matloob <******@****.***> 1708031260 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  6. src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go

    	writeLock lockType = syscall.LOCK_EX
    )
    
    func lock(f File, lt lockType) (err error) {
    	for {
    		err = syscall.Flock(int(f.Fd()), int(lt))
    		if err != syscall.EINTR {
    			break
    		}
    	}
    	if err != nil {
    		return &fs.PathError{
    			Op:   lt.String(),
    			Path: f.Name(),
    			Err:  err,
    		}
    	}
    	return nil
    }
    
    func unlock(f File) error {
    	return lock(f, syscall.LOCK_UN)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 723 bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy

                }
                start {
                    coordinationService.withStateLock(lock(resource))
                    instant.locked
                    thread.blockUntil.worker1Started
                    registry.runAsWorkerThread {
                        thread.block()
                        instant.unlocked
                        coordinationService.withStateLock(unlock(resource))
                    }
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/stacks.go

    		select {
    		case <-c1:
    		case <-c2:
    		}
    	}()
    	var mu sync.Mutex
    	mu.Lock()
    	go func() { // func7
    		mu.Lock()
    		mu.Unlock()
    	}()
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() { // func8
    		wg.Wait()
    	}()
    	cv := sync.NewCond(&sync.Mutex{})
    	go func() { // func9
    		cv.L.Lock()
    		cv.Wait()
    		cv.L.Unlock()
    	}()
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/syscall/flock_aix.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syscall
    
    import "unsafe"
    
    // On AIX, there is no flock() system call.
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 570 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    type targets struct {
    	tail         *targets // rest of stack
    	_break       *Block
    	_continue    *Block
    	_fallthrough *Block
    }
    
    // Destinations associated with a labeled block.
    // We populate these as labels are encountered in forward gotos or
    // labeled statements.
    type lblock struct {
    	_goto     *Block
    	_break    *Block
    	_continue *Block
    }
    
    // labeledBlock returns the branch target associated with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top