Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 810 for isShutdown (0.65 sec)

  1. internal/http/server.go

    		return srv.Server.Serve(l)
    	}
    
    	return
    }
    
    // Shutdown - shuts down HTTP server.
    func (srv *Server) Shutdown() error {
    	srv.listenerMutex.Lock()
    	if srv.listener == nil {
    		srv.listenerMutex.Unlock()
    		return http.ErrServerClosed
    	}
    	srv.listenerMutex.Unlock()
    
    	if atomic.AddUint32(&srv.inShutdown, 1) > 1 {
    		// shutdown in progress
    		return http.ErrServerClosed
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 09 21:25:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/syscall/tables_js.go

    	"ENETRESET":       ENETRESET,
    	"ECONNABORTED":    ECONNABORTED,
    	"ECONNRESET":      ECONNRESET,
    	"ENOBUFS":         ENOBUFS,
    	"EISCONN":         EISCONN,
    	"ENOTCONN":        ENOTCONN,
    	"ESHUTDOWN":       ESHUTDOWN,
    	"ETOOMANYREFS":    ETOOMANYREFS,
    	"ETIMEDOUT":       ETIMEDOUT,
    	"ECONNREFUSED":    ECONNREFUSED,
    	"EHOSTDOWN":       EHOSTDOWN,
    	"EHOSTUNREACH":    EHOSTUNREACH,
    	"EALREADY":        EALREADY,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  3. src/syscall/zerrors_windows.go

    	ERESTART - APPLICATION_ERROR:        "interrupted system call should be restarted",
    	EROFS - APPLICATION_ERROR:           "read-only file system",
    	ESHUTDOWN - APPLICATION_ERROR:       "cannot send after transport endpoint shutdown",
    	ESOCKTNOSUPPORT - APPLICATION_ERROR: "socket type not supported",
    	ESPIPE - APPLICATION_ERROR:          "illegal seek",
    	ESRCH - APPLICATION_ERROR:           "no such process",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10K bytes
    - Viewed (0)
  4. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    		// 3. When shutdown(false) event is received, this indicates a previous shutdown was cancelled. In this case, acquire the inhibit lock again.
    		for {
    			select {
    			case isShuttingDown, ok := <-events:
    				if !ok {
    					m.logger.Error(err, "Ended to watching the node for shutdown events")
    					close(stop)
    					return
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_s390x.go

    	return
    }
    
    func Listen(s int, n int) (err error) {
    	_, e := socketcall(_LISTEN, uintptr(s), uintptr(n), 0, 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func Shutdown(s, how int) (err error) {
    	_, e := socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
        assertThat(e).hasMessageThat().contains("Unexpected interrupt");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    	return
    }
    
    func Listen(s int, n int) (err error) {
    	_, e := socketcall(_LISTEN, uintptr(s), uintptr(n), 0, 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func Shutdown(s, how int) (err error) {
    	_, e := socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/shutdown/ShutdownHooks.java

                // interrupting other shutdown hooks, so we catch it here.
                //
                // Caused by: java.lang.IllegalStateException: Shutdown in progress
                //        at java.base/java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)
                //        at java.base/java.lang.Runtime.removeShutdownHook(Runtime.java:243)
                LOGGER.error("Remove shutdown hook failed", e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 12 05:56:18 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/events.md

    ### `shutdown` event
    
    To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/events/tutorial002.py!}
    ```
    
    Here, the `shutdown` event handler function will write a text line `"Application shutdown"` to a file `log.txt`.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
        assertThat(e).hasMessageThat().contains("Unexpected interrupt");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top