Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,205 for threaded (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

                        tasks.all.logger.lifecycle("build finished from \${tasks.all.path}")
                    }
                }
    
                threaded {
                    println("threaded configuration output")
                }
    
                def threaded(Closure action) {
                    Thread.start(action).join()
                }
            """
    
            when:
            succeeds("all")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/graph.go

    		APIVersion: s.APIVersion,
    		UID:        s.UID,
    	}
    }
    
    var _ fmt.Stringer = objectReference{}
    var _ logr.Marshaler = objectReference{}
    
    // The single-threaded GraphBuilder.processGraphChanges() is the sole writer of the
    // nodes. The multi-threaded GarbageCollector.attemptToDeleteItem() reads the nodes.
    // WARNING: node has different locks on different fields. setters and getters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 13:37:56 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. samples/helloworld/src/app.py

    
    @app.route('/health')
    def health():
        return 'Helloworld is healthy', 200
    
    
    if __name__ == "__main__":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 13:44:21 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepConcurrencyTest.groovy

            Map<Thread, Throwable> exceptions = [:]
            def exceptionHandler = { thread, exception ->
                exceptions.put(thread, exception)
                exception.printStackTrace()
            } as Thread.UncaughtExceptionHandler
    
            when:
            def thread1 = new Thread({
                println "Work 1 started"
                step.execute(work, context)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:25 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. src/runtime/lock_wasip1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package runtime
    
    // wasm has no support for threads yet. There is no preemption.
    // See proposal: https://github.com/WebAssembly/threads
    // Waiting for a mutex or timeout is implemented as a busy loop
    // while allowing other goroutines to run.
    
    const (
    	mutex_unlocked = 0
    	mutex_locked   = 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig.go

    	newContent, err := c.newTLSContent()
    	if err != nil {
    		return err
    	}
    	// if the content is the same as what we currently have, we can simply skip it.  This works because we are single
    	// threaded.  If you ever make this multi-threaded, add a lock.
    	if newContent.Equal(c.currentlyServedContent) {
    		return nil
    	}
    
    	// make a shallow copy and override the dynamic pieces which have changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/c/python_api.h

    // Usually this happens automatically in TF_SessionRun. After this is called,
    // TF_SessionRun will no longer extend the session on every call.
    //
    // We expose this here to allow fine-grained synchronization in multi-threaded
    // workloads, which is required since the Python implementation depends on the
    // above mutation methods. This allows us to prevent modifications to nodes in
    // the graph after the session has been made aware of them.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

    import org.eclipse.aether.transfer.TransferEvent;
    import org.eclipse.aether.transfer.TransferResource;
    
    /**
     * Console download progress meter.
     * <p>
     * This listener is not thread-safe and should be wrapped in the {@link SimplexTransferListener} in a multi-threaded scenario.
     */
    public class ConsoleMavenTransferListener extends AbstractMavenTransferListener {
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. samples/bookinfo/src/productpage/productpage.py

        logging.info("start at port %s" % (p))
        # Make it compatible with IPv6 if Linux
        if sys.platform == "linux":
            app.run(host='::', port=p, debug=False, threaded=True)
        else:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        protected Executor executor() {
          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top