- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 474 for lock1 (0.04 sec)
-
pilot/pkg/leaderelection/leaderelection.go
} l.mu.Lock() l.le = le l.cycle.Inc() l.mu.Unlock() ctx, cancel := context.WithCancel(context.Background()) go func() { <-stop cancel() }() le.Run(ctx) select { case <-stop: // We were told to stop explicitly. Exit now return default: cancel()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0) -
apache-maven/src/assembly/maven/lib/ext/redisson/README.txt
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Aug 23 19:41:57 UTC 2022 - 295 bytes - Viewed (0) -
pkg/util/async/bounded_frequency_runner.go
// the Loop thread once, just like Run does. bfr.retryMu.Lock() defer bfr.retryMu.Unlock() if !bfr.retryTime.IsZero() && bfr.retryTime.Before(retryTime) { return } bfr.retryTime = retryTime select { case bfr.retry <- struct{}{}: default: } } // assumes the lock is not held func (bfr *BoundedFrequencyRunner) stop() { bfr.mu.Lock() defer bfr.mu.Unlock() bfr.limiter.Stop()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 09:36:26 UTC 2022 - 9.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
import java.util.concurrent.SynchronousQueue import java.util.concurrent.ThreadPoolExecutor import java.util.concurrent.TimeUnit import java.util.concurrent.locks.ReentrantLock import okhttp3.internal.assertNotHeld import okhttp3.internal.connection.Locks.withLock import okhttp3.internal.connection.RealCall import okhttp3.internal.connection.RealCall.AsyncCall import okhttp3.internal.okHttpName import okhttp3.internal.threadFactory
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 9K bytes - Viewed (0) -
cmd/erasure-common.go
} ignoredErrs := []error{ errFileNotFound, errVolumeNotFound, errFileVersionNotFound, io.ErrUnexpectedEOF, // some times we would read without locks, ignore these errors io.EOF, // some times we would read without locks, ignore these errors context.DeadlineExceeded, context.Canceled, } ignoredErrs = append(ignoredErrs, objectOpIgnoredErrs...) errs := g.Wait()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingLock.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; /** Forwarding wrapper around a {@code Lock}. */ @J2ktIncompatible @ElementTypesAreNonnullByDefault abstract class ForwardingLock implements Lock { abstract Lock delegate(); @Override public void lock() { delegate().lock(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 1.5K bytes - Viewed (0) -
src/os/file_mutex_plan9.go
// then actually close it. func (file *file) decref() error { if file.fdmu.Decref() { return file.destroy() } return nil } // readLock adds a reference to the file and locks it for reading. // It returns an error if the file is already closed. func (file *file) readLock() error { if !file.fdmu.ReadLock() { return ErrClosed } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 1.8K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseDependencyLockingIntegrationTest.groovy
mvnRepo.module("groupOne", "artifactTwo", "1.1").publish() def repoJar = mvnRepo.module("groupOne", "artifactTwo", "2.0").publish().artifactFile file('gradle/dependency-locks/compileClasspath.lockfile') << 'groupOne:artifactTwo:1.1' //when runEclipseTask """ apply plugin: 'java' apply plugin: 'eclipse' repositories { maven { url "${mvnRepo.uri}" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaDependencyLockingIntegrationTest.groovy
mvnRepo.module("groupOne", "artifactTwo").publish() mvnRepo.module("groupOne", "artifactTwo", "1.1").publish() mvnRepo.module("groupOne", "artifactTwo", "2.0").publish() file('gradle/dependency-locks/compileClasspath.lockfile') << 'groupOne:artifactTwo:1.1' //when runIdeaTask """ apply plugin: 'java' apply plugin: 'idea' repositories { maven { url "${mvnRepo.uri}" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.9K bytes - Viewed (0) -
src/runtime/lock_futex.go
} func mutexContended(l *mutex) bool { return atomic.Load(key32(&l.key)) > mutex_locked } func lock(l *mutex) { lockWithRank(l, getLockRank(l)) } func lock2(l *mutex) { gp := getg() if gp.m.locks < 0 { throw("runtime·lock: lock count") } gp.m.locks++ // Speculative grab for lock. v := atomic.Xchg(key32(&l.key), mutex_locked) if v == mutex_unlocked { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:34 UTC 2024 - 5.4K bytes - Viewed (0)