Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 538 for lockedm (0.2 sec)

  1. src/runtime/testdata/testprog/lockosthread.go

    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    		// main thread.
    		ready <- true
    	}()
    	<-ready
    	time.Sleep(1 * time.Millisecond)
    	// Check that this goroutine is still running on a different
    	// thread.
    	if mainTID != 0 && gettid() == mainTID {
    		println("goroutine migrated to locked thread")
    		os.Exit(1)
    	}
    	println("OK")
    }
    
    func LockOSThreadAlt() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/lockedfile/internal/filelock/filelock.go

    	Stat() (fs.FileInfo, error)
    }
    
    // Lock places an advisory write lock on the file, blocking until it can be
    // locked.
    //
    // If Lock returns nil, no other process will be able to place a read or write
    // lock on the file until this process exits, closes f, or calls Unlock on it.
    //
    // If f's descriptor is already read- or write-locked, the behavior of Lock is
    // unspecified.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/runtime/rwmutex.go

    // rank.
    //
    // Internal ranking: as an implementation detail, rwmutex uses two mutexes:
    // rLock and wLock. These have lock order requirements: wLock must be locked
    // before rLock. This also needs to be represented in the lock rank.
    //
    // Semantic ranking is represented by acquiring readRank during read lock and
    // writeRank during write lock.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/dependency_locking.adoc

    You can also disable locking on a specific configuration.
    This can be useful if a plugin configured locking on all configurations but you happen to add one that should not be locked.
    
    .Unlocking a specific configuration
    ====
    include::sample[dir="snippets/dependencyManagement/dependencyLocking-unlockingSingleConfiguration/kotlin",files="build.gradle.kts[tags=locking-one]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:55:22 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/NebulaPluginsSmokeTest.groovy

            "org.apache.commons:commons-math3": {
                "locked": "3.6.1",
                "requested": "3.6.1"
            }
        },
        "default": {
            "org.apache.commons:commons-math3": {
                "locked": "3.6.1",
                "requested": "3.6.1"
            }
        },
        "runtimeClasspath": {
            "org.apache.commons:commons-math3": {
                "locked": "3.6.1",
                "requested": "3.6.1"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/execution/plan/AbstractExecutionPlanSpec.groovy

            boolean tryLock() {
                if (!locks.contains(this) && locked) {
                    return false
                }
                locked = true
                locks.add(this)
                return true
            }
    
            @Override
            void unlock() {
                locked = false
                locks.remove(this)
            }
    
            @Override
            String getDisplayName() {
                return "some lock"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top