Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 928 for lock1 (0.03 sec)

  1. src/syscall/forkpipe2.go

    		// conceptual write locks are released.
    		//
    		// Note that this case is unusual on modern systems
    		// with O_CLOEXEC and SOCK_CLOEXEC. On those systems
    		// the standard library should never take a read
    		// lock on ForkLock.
    
    		forkingLock.Unlock()
    
    		ForkLock.RLock()
    		ForkLock.RUnlock()
    
    		forkingLock.Lock()
    
    		// Readers got a chance, so now take the write lock.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 10 19:19:59 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingAllConfigurations/groovy/build.gradle

        notCompatibleWithConfigurationCache("Filters configurations at execution time")
        doFirst {
            assert gradle.startParameter.writeDependencyLocks : "$path must be run from the command line with the `--write-locks` flag"
        }
        doLast {
            configurations.findAll {
                // Add any custom filtering on the configurations to be resolved
                it.canBeResolved
            }.each { it.resolve() }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 632 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingAllConfigurations/kotlin/build.gradle.kts

        notCompatibleWithConfigurationCache("Filters configurations at execution time")
        doFirst {
            require(gradle.startParameter.isWriteDependencyLocks) { "$path must be run from the command line with the `--write-locks` flag" }
        }
        doLast {
            configurations.filter {
                // Add any custom filtering on the configurations to be resolved
                it.isCanBeResolved
            }.forEach { it.resolve() }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 637 bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/interface.go

    }
    
    // ResourceLockConfig common data that exists across different
    // resource locks
    type ResourceLockConfig struct {
    	// Identity is the unique string identifying a lease holder across
    	// all participants in an election.
    	Identity string
    	// Key is a user-defined value used to indicate how high priority this lock
    	// have. Other locks may steal the lock from us if they believe their key
    	// has a higher priority.
    	Key string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/process/internal/ExecHandleRunner.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    public class ExecHandleRunner implements Runnable {
        private static final Logger LOGGER = Logging.getLogger(ExecHandleRunner.class);
    
        private final ProcessBuilderFactory processBuilderFactory;
        private final DefaultExecHandle execHandle;
        private final Lock lock = new ReentrantLock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. internal/dsync/dsync_test.go

    		dm2nd.Lock(id, source)
    
    		// Release lock after 10 seconds
    		go func() {
    			time.Sleep(2 * testDrwMutexAcquireTimeout)
    			// fmt.Println("Unlocking dm2")
    
    			dm2nd.Unlock(context.Background())
    		}()
    
    		dm3rd.Lock(id, source)
    
    		// fmt.Printf("3rd lock obtained after 1st & 2nd locks are released\n")
    		time.Sleep(testDrwMutexRefreshCallTimeout)
    
    		dm3rd.Unlock(context.Background())
    	}()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 11K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    
    import org.apache.maven.api.SessionData;
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.apache.maven.artifact.Artifact;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

            private final Striped<Lock> locks = Striped.lock(Runtime.getRuntime().availableProcessors() * 4);
    
            public <V> V guardByKey(T key, Supplier<V> supplier) {
                Lock lock = locks.get(key);
                lock.lock();
                try {
                    return supplier.get();
                } finally {
                    lock.unlock();
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. pkg/ledger/smt.go

    func (s *smt) Update(keys, values [][]byte) ([]byte, error) {
    	s.lock.Lock()
    	defer s.lock.Unlock()
    	s.atomicUpdate = true
    	ch := make(chan result, 1)
    	s.update(s.Root(), keys, values, nil, 0, s.trieHeight, false, true, ch)
    	result := <-ch
    	if result.err != nil {
    		return nil, result.err
    	}
    	s.rootMu.Lock()
    	defer s.rootMu.Unlock()
    	if len(result.update) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    		$2 ~ /^C(LOCAL|READ)$/ ||
    		$2 == "BRKINT" ||
    		$2 == "HUPCL" ||
    		$2 == "PENDIN" ||
    		$2 == "TOSTOP" ||
    		$2 ~ /^PAR/ ||
    		$2 ~ /^SIG[^_]/ ||
    		$2 ~ /^O[CNPFP][A-Z]+[^_][A-Z]+$/ ||
    		$2 ~ /^IN_/ ||
    		$2 ~ /^LOCK_(SH|EX|NB|UN)$/ ||
    		$2 ~ /^(AF|SOCK|SO|SOL|IPPROTO|IP|IPV6|ICMP6|TCP|EVFILT|NOTE|EV|SHUT|PROT|MAP|PACKET|MSG|SCM|MCL|DT|MADV|PR)_/ ||
    		$2 == "ICMPV6_FILTER" ||
    		$2 == "SOMAXCONN" ||
    		$2 == "NAME_MAX" ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (2)
Back to top