Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 595 for lockedm (0.26 sec)

  1. 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)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/AbstractWorkerLeaseServiceTest.groovy

            service.startProjectExecution(parallel)
            return service
        }
    
        TestTrackedResourceLock resourceLock(String displayName, boolean locked, boolean hasLock = false) {
            return new TestTrackedResourceLock(displayName, coordinationService, Mock(ResourceLockContainer), locked, hasLock)
        }
    
        TestTrackedResourceLock resourceLock(String displayName) {
            return resourceLock(displayName, false)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingLenientModeIntegrationTest.groovy

                root(":", ":depLock:") {
                    edge("org:foo:1.+", "org:foo:1.1") {
                        byConflictResolution("between versions 1.0 and 1.1")
                        byConstraint("dependency was locked to version '1.0' (update/lenient mode)")
                    }
                    edge("org:foo:{strictly 1.1}", "org:foo:1.1")
                    constraint("org:foo:1.0", "org:foo:1.1")
                }
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. internal/dsync/lock-args.go

    	UID string
    
    	// Resources contains single or multiple entries to be locked/unlocked.
    	Resources []string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    	Source string
    
    	// Owner represents unique ID for this instance, an owner who originally requested
    	// the locked resource, useful primarily in figuring out stale locks.
    	Owner string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 04:34:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/sigprocmask.go

    */
    import "C"
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    )
    
    var blocked bool
    
    //export IntoGoAndBack
    func IntoGoAndBack() {
    	// Verify that SIGIO stays blocked on the C thread
    	// even when unblocked for signal.Notify().
    	signal.Notify(make(chan os.Signal), syscall.SIGIO)
    	blocked = C.CheckBlocked() != 0
    }
    
    func testSigprocmask(t *testing.T) {
    	if r := C.RunSigThread(); r != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 808 bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderScope.java

         *
         * <p>Can not be called after being locked.
         *
         * @return this
         */
        ClassLoaderScope local(ClassPath classPath);
    
        /**
         * Makes the provided classes visible to this scope and its children. The classes are loaded in their own ClassLoader whose parent is the export ClassLoader
         * of the parent scope.
         *
         * <p>Can not be called after being locked.
         *
         * @return this
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLock.java

     * outside of a {@link ResourceLockCoordinationService#withStateLock(Transformer)} transform.
     */
    public interface ResourceLock extends Describable {
        /**
         * Returns true if this resource is locked by any thread.
         *
         * @return true if any thread holds the lock for this resource
         */
        boolean isLocked();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLockManager.java

         * released by calling {@link FileLock#close()}. This method blocks until the lock can be acquired.
         *
         * @param target The file to be locked.
         * @param options The lock options.
         * @param targetDisplayName A display name for the target file. This is used in log and error messages.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandler.java

                    signal.trigger();
                }
            } else {
                LOGGER.debug("Gradle process at port {} confirmed unlock request for lock with id {}.", port, lockId);
                unlocksConfirmedFrom.put(lockId, port);
            }
        }
    
        @Override
        public void start(long lockId, Consumer<FileLockReleasedSignal> whenContended) {
            lock.lock();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top