- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 815 for fslock (0.22 sec)
-
src/syscall/zerrors_linux_s390x.go
F_SETPIPE_SZ = 0x407 F_SETSIG = 0xa F_SHLCK = 0x8 F_TEST = 0x3 F_TLOCK = 0x2 F_ULOCK = 0x0 F_UNLCK = 0x2 F_WRLCK = 0x1 HUPCL = 0x400 ICANON = 0x2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 19 16:12:50 UTC 2022 - 73.3K bytes - Viewed (0) -
pkg/queue/instance_test.go
defer close(stop) wg := sync.WaitGroup{} wg.Add(numValues) mu := sync.Mutex{} out := make([]int, 0) for i := 0; i < numValues; i++ { i := i q.Push(func() error { mu.Lock() out = append(out, i) defer mu.Unlock() wg.Done() return nil }) // Start the queue at the halfway point. if i == numValues/2 { go q.Run(stop) } } // wait for all task processed wg.Wait()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
*/ protected volatile int state = 0; protected String name = "Transport" + id++; private volatile Thread thread; private volatile TransportException te; protected final Object inLock = new Object(); protected final Object outLock = new Object(); protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10); private final AtomicLong usageCount = new AtomicLong(1);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
pkg/kubelet/cm/fake_container_manager.go
cm.Lock() defer cm.Unlock() cm.CalledFunctions = append(cm.CalledFunctions, "QOSContainersInfo") return QOSContainersInfo{} } func (cm *FakeContainerManager) UpdateQOSCgroups() error { cm.Lock() defer cm.Unlock() cm.CalledFunctions = append(cm.CalledFunctions, "UpdateQOSCgroups") return nil } func (cm *FakeContainerManager) Status() Status { cm.Lock() defer cm.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 17:33:04 UTC 2023 - 7.4K bytes - Viewed (0) -
src/syscall/zerrors_linux_arm64.go
F_SETPIPE_SZ = 0x407 F_SETSIG = 0xa F_SHLCK = 0x8 F_TEST = 0x3 F_TLOCK = 0x2 F_ULOCK = 0x0 F_UNLCK = 0x2 F_WRLCK = 0x1 HUPCL = 0x400 ICANON = 0x2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 19 16:12:50 UTC 2022 - 68.6K bytes - Viewed (0) -
src/syscall/syscall_openbsd.go
//sys Fchdir(fd int) (err error) //sys Fchflags(fd int, flags int) (err error) //sys Fchmod(fd int, mode uint32) (err error) //sys Fchown(fd int, uid int, gid int) (err error) //sys Flock(fd int, how int) (err error) //sys Fpathconf(fd int, name int) (val int, err error) //sys Fstat(fd int, stat *Stat_t) (err error) //sys Fstatfs(fd int, stat *Statfs_t) (err error) //sys Fsync(fd int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 10:34:00 UTC 2023 - 7K bytes - Viewed (0) -
src/internal/poll/fd_mutex_test.go
if mu.Incref() { t.Fatal("broken") } if mu.RWLock(true) { t.Fatal("broken") } if mu.RWLock(false) { t.Fatal("broken") } if mu.IncrefAndClose() { t.Fatal("broken") } } func TestMutexCloseUnblock(t *testing.T) { c := make(chan bool, 4) var mu XFDMutex mu.RWLock(true) for i := 0; i < 4; i++ { go func() { if mu.RWLock(true) { t.Error("broken") return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 4K bytes - Viewed (0) -
src/html/template/template.go
if t == nil { return nil } t.nameSpace.mu.Lock() defer t.nameSpace.mu.Unlock() if t.nameSpace.escaped { return fmt.Errorf("html/template: cannot Parse after Execute") } return nil } // escape escapes all associated templates. func (t *Template) escape() error { t.nameSpace.mu.Lock() defer t.nameSpace.mu.Unlock() t.nameSpace.escaped = true if t.escapeErr == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:00:46 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock.go
// ensure that Unlock is always called when Lock succeeds. func Lock(f File) error { return lock(f, writeLock) } // RLock places an advisory read lock on the file, blocking until it can be locked. // // If RLock returns nil, no other process will be able to place a write lock on // the file until this process exits, closes f, or calls Unlock on it. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 17 02:24:35 UTC 2023 - 2.6K bytes - Viewed (0) -
src/syscall/syscall_netbsd.go
//sys Dup2(from int, to int) (err error) //sys Fchdir(fd int) (err error) //sys Fchflags(fd int, flags int) (err error) //sys Fchmod(fd int, mode uint32) (err error) //sys Fchown(fd int, uid int, gid int) (err error) //sys Flock(fd int, how int) (err error) //sys Fpathconf(fd int, name int) (val int, err error) //sys Fstat(fd int, stat *Stat_t) (err error) //sys Fsync(fd int) (err error) //sys Ftruncate(fd int, length int64) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 7.8K bytes - Viewed (0)