Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for synchronize (0.29 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ScopedFingerprintWriter.kt

    ) : Closeable {
        override fun close() {
            // we synchronize access to all resources used by callbacks
            // in case there was still an event being dispatched at closing time.
            synchronized(writeContext) {
                unsafeWrite(null)
                writeContext.close()
            }
        }
    
        fun write(value: T, trace: PropertyTrace? = null) {
            synchronized(writeContext) {
                withPropertyTrace(trace) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/os/exec_windows.go

    	syscall.CloseHandle(syscall.Handle(p.handle))
    }
    
    func findProcess(pid int) (p *Process, err error) {
    	const da = syscall.STANDARD_RIGHTS_READ |
    		syscall.PROCESS_QUERY_INFORMATION | syscall.SYNCHRONIZE
    	h, e := syscall.OpenProcess(da, false, uint32(pid))
    	if e != nil {
    		return nil, NewSyscallError("OpenProcess", e)
    	}
    	return newHandleProcess(pid, uintptr(h)), nil
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier.go

    		}
    		if err != nil && !knftables.IsNotFound(err) {
    			logger.Error(err, "Error cleaning up nftables rules")
    			encounteredError = true
    		}
    	}
    
    	return encounteredError
    }
    
    // Sync is called to synchronize the proxier state to nftables as soon as possible.
    func (proxier *Proxier) Sync() {
    	if proxier.healthzServer != nil {
    		proxier.healthzServer.QueuedUpdate(proxier.ipFamily)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    // three channels (file, apiserver, and http) and creates a union of them. For
    // any new change seen, will run a sync against desired state and running state. If
    // no changes are seen to the configuration, will synchronize the last known desired
    // state every sync-frequency seconds. Never returns.
    func (kl *Kubelet) syncLoop(ctx context.Context, updates <-chan kubetypes.PodUpdate, handler SyncHandler) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

        override fun scopeFor(classLoader: ClassLoader?): Pair<ClassLoaderScopeSpec, ClassLoaderRole>? {
            synchronized(lock) {
                return loaders[classLoader]
            }
        }
    
        override fun childScopeCreated(parentId: ClassLoaderScopeId, childId: ClassLoaderScopeId, origin: ClassLoaderScopeOrigin?) {
            synchronized(lock) {
                if (scopeSpecs.containsKey(childId)) {
                    // scope is being reused
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

            synchronized (instanceLock) {
                stopActions = stopActions.plus(stopAction);
            }
        }
    
        @Override
        protected Value<? extends T> calculateOwnValue(ValueConsumer consumer) {
            return Value.of(getInstance());
        }
    
        private T getInstance() {
            listener.beforeGet(this);
            synchronized (instanceLock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

        private final Map<TransferResourceIdentifier, TransferResourceAndSize> transfers = new LinkedHashMap<>();
        private final FileSizeFormat format = new FileSizeFormat(); // use in a synchronized fashion
        private final StringBuilder buffer = new StringBuilder(128); // use in a synchronized fashion
    
        private final boolean printResourceNames;
        private int lastLength;
    
        public ConsoleMavenTransferListener(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseException.java

                return false;
            }
        }
    
        @Override
        public List<? extends Throwable> getCauses() {
            return causes;
        }
    
        @Override
        public synchronized Throwable initCause(Throwable throwable) {
            causes.clear();
            causes.add(throwable);
            return null;
        }
    
        public void initCauses(Iterable<? extends Throwable> causes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseExceptionNoStackTrace.java

        }
    
        public DefaultMultiCauseExceptionNoStackTrace(Factory<String> messageFactory, Iterable<? extends Throwable> causes) {
            super(messageFactory, causes);
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
            return this;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheIntegrationTest.groovy

                            Thread.sleep(JAR_GENERATION_TIME_MS)
                            touch(file)
                        }
                    })
    
                    synchronized(jarFiles) {
                        jarFiles << jarFile
                    }
                }
            }
    
            concurrent.finished()
    
            then:
            triggeredJarFileGeneration.get() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top