- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 559 for lockedm (0.18 sec)
-
src/sync/mutex_test.go
t.Logf("got mutexrate %d expected 0", n) } defer runtime.SetMutexProfileFraction(0) m := new(Mutex) m.Lock() if m.TryLock() { t.Fatalf("TryLock succeeded with mutex locked") } m.Unlock() if !m.TryLock() { t.Fatalf("TryLock failed with mutex unlocked") } m.Unlock() c := make(chan bool) for i := 0; i < 10; i++ { go HammerMutex(m, 1000, c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 16 21:25:35 UTC 2022 - 5.9K bytes - Viewed (0) -
src/syscall/forkpipe2.go
// Avoid the serialization by ensuring that ForkLock is locked // at the first fork and unlocked when there are no more forks. func acquireForkLock() { forkingLock.Lock() defer forkingLock.Unlock() if forking == 0 { // There is no current write lock on ForkLock. ForkLock.Lock() forking++ return } // ForkLock is currently locked for writing. if hasWaitingReaders(&ForkLock) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 2.6K bytes - Viewed (0) -
plugin/pkg/admission/eventratelimit/admission_test.go
newEventRequest().withNamespace("B").blocked(), newEventRequest().withNamespace("A").blocked(), // This should clear out namespace B from the lru cache newEventRequest().withNamespace("C"), newEventRequest().withNamespace("A").blocked(), newEventRequest().withNamespace("B"), }, }, { name: "event blocked by source+object limits", serverBurst: 100,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 17 13:19:08 UTC 2021 - 15.6K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/management/internal/DefaultPluginResolutionStrategy.java
private final Map<PluginId, String> pluginVersions = new HashMap<>(); private boolean locked; public DefaultPluginResolutionStrategy(ListenerManager listenerManager) { listenerManager.addListener(new InternalBuildAdapter(){ @Override public void projectsLoaded(Gradle gradle) { locked = true; } }); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy
} } when: beforeState.eachWithIndex { boolean locked, int i -> lock[i].lockedState = locked } coordinationService.withStateLock(outerAction) then: afterState.eachWithIndex { boolean locked, int i -> assert lock[i].lockedState == locked } where: beforeState | afterState
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 17:16:10 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/MixedDependencyLockingIntegrationTest.groovy
def lockfileFixture = new LockfileFixture(testDirectory: testDirectory) def setup() { settingsFile << "rootProject.name = 'mixedDepLock'" } def 'can resolve locked and unlocked configurations'() { mavenRepo.module('org', 'foo', '1.0').publish() mavenRepo.module('org', 'foo', '1.1').publish() buildFile << """ repositories { maven { name 'repo'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingStrictModeIntegrationTest.groovy
fails 'dependencies', '--update-locks', 'org:foo' then: failureHasCause("Locking strict mode: Configuration ':lockedConf' is locked but does not have lock state.") lockfileFixture.expectLockStateMissing('unlockedConf') } def 'ignores not locked configurations'() { mavenRepo.module('org', 'foo', '1.0').publish() buildFile << """ dependencyLocking {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultClassLoaderScopeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 13.8K bytes - Viewed (0) -
src/syscall/exec_linux.go
// Set up and fork. This returns immediately in the parent or // if there's an error. upid, pidfd, err, mapPipe, locked := forkAndExecInChild1(argv0, argv, envv, chroot, dir, attr, sys, pipe) if locked { runtime_AfterFork() } if err != 0 { return 0, err } // parent; return PID pid = int(upid) if sys.PidFD != nil { *sys.PidFD = int(pidfd)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/lockedfile_plan9.go
"time" ) // Opening an exclusive-use file returns an error. // The expected error strings are: // // - "open/create -- file is locked" (cwfs, kfs) // - "exclusive lock" (fossil) // - "exclusive use file already open" (ramfs) var lockedErrStrings = [...]string{ "file is locked", "exclusive lock", "exclusive use file already open", } // Even though plan9 doesn't support the Lock/RLock/Unlock functions to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2.5K bytes - Viewed (0)