Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 170 for interrupt (0.16 sec)

  1. ci/official/README.md

    #   destroys some temporary bazel data and causes longer builds.
    #
    #   You will need the NVIDIA Container Toolkit for GPU testing:
    #   https://github.com/NVIDIA/nvidia-container-toolkit
    #
    #   Note: if you interrupt a bazel command on docker (ctrl-c), you
    #   will need to run `docker exec tf pkill bazel` to quit bazel.
    #
    #   Note: new files created from the container are owned by "root".
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

                } catch (InterruptedException ex) {
                  interrupted = true; // note interruption and retry
                }
              }
              if (e == null) {
                break; // we already waited enough, and there are no more elements in sight
              }
              buffer.add(e);
              added++;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    		if err = installer.Run(ctx); err != nil {
    			if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
    				log.Infof("installer complete: %v", err)
    				// Error was caused by interrupt/termination signal
    				err = nil
    			} else {
    				log.Errorf("installer failed: %v", err)
    			}
    		}
    
    		if cleanErr := installer.Cleanup(); cleanErr != nil {
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      override fun request(): Request = originalRequest
    
      /**
       * Immediately closes the socket connection if it's currently held. Use this to interrupt an
       * in-flight request from any thread. It's the caller's responsibility to close the request body
       * and response body streams; otherwise resources may be leaked.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  5. cni/test/install_cni.go

    	// the CNI binary installed.
    	if err := installer.Run(ctx); err != nil {
    		if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
    			// Error was caused by interrupt/termination signal
    			t.Logf("installer complete: %v", err)
    		} else {
    			t.Errorf("installer failed: %v", err)
    		}
    	}
    
    	if cleanErr := installer.Cleanup(); cleanErr != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (commandThread != null && commandThread.isAlive()) {
                    commandThread.interrupt();
                }
                if (systemMonitorTask != null) {
                    systemMonitorTask.cancel();
                }
                if (hotThreadMonitorTask != null) {
                    hotThreadMonitorTask.cancel();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                }
            }, "ThumbnailGenerator");
            thumbnailQueueThread.start();
        }
    
        @PreDestroy
        public void destroy() {
            generating = false;
            thumbnailQueueThread.interrupt();
            try {
                thumbnailQueueThread.join(10000);
            } catch (final InterruptedException e) {
                logger.warn("Thumbnail thread is timeouted.", e);
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        final AtomicBoolean terminated = new AtomicBoolean();
        // we need to keep this in a flag because t.isInterrupted() returns false after t.join()
        final AtomicBoolean interrupted = new AtomicBoolean();
        // we need to use another thread because it will be interrupted and thus using
        // the current one, owned by JUnit, would make the test fail
        Thread thread =
            new Thread(
                new Runnable() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            joinThread(q1x);
            interruptThreadSafely(q20);
            joinThread(q20);
        }
    
    
        private static void interruptThreadSafely ( QueryThread thread ) {
            try {
                thread.interrupt();
            }
            catch ( SecurityException e ) {
                e.printStackTrace();
            }
        }
    
    
        private static void joinThread ( Thread thread ) {
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

            Thread t = this.thread;
            if ( t != null && Thread.currentThread() != t ) {
                this.thread = null;
                try {
                    log.debug("Interrupting transport thread");
                    t.interrupt();
                    log.debug("Joining transport thread");
                    t.join(timeout);
                    log.debug("Joined transport thread");
                }
                catch ( InterruptedException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
Back to top