Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ForkLock (0.64 sec)

  1. src/syscall/exec_windows.go

    // license that can be found in the LICENSE file.
    
    // Fork, exec, wait, etc.
    
    package syscall
    
    import (
    	"internal/bytealg"
    	"runtime"
    	"sync"
    	"unicode/utf16"
    	"unsafe"
    )
    
    // ForkLock is not used on Windows.
    var ForkLock sync.RWMutex
    
    // EscapeArg rewrites command line argument s as prescribed
    // in https://msdn.microsoft.com/en-us/library/ms880421.
    // This function returns "" (2 double quotes) if s is empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 18:29:48 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/syscall/exec_plan9.go

    // license that can be found in the LICENSE file.
    
    // Fork, exec, wait, etc.
    
    package syscall
    
    import (
    	"internal/itoa"
    	"runtime"
    	"sync"
    	"unsafe"
    )
    
    // ForkLock is not used on plan9.
    var ForkLock sync.RWMutex
    
    // gstringb reads a non-empty string from b, prefixed with a 16-bit length in little-endian order.
    // It returns the string as a byte slice, or nil if b is too short to contain the length or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	}
    
    	return waiter.result
    }
    
    func (e *quotaEvaluator) addWork(a *admissionWaiter) {
    	e.workLock.Lock()
    	defer e.workLock.Unlock()
    
    	ns := a.attributes.GetNamespace()
    	// this Add can trigger a Get BEFORE the work is added to a list, but this is ok because the getWork routine
    	// waits the worklock before retrieving the work to do, so the writes in this method will be observed
    	e.queue.Add(ns)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top