Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for Hangup (0.12 sec)

  1. src/runtime/netpoll_wasip1.go

    	for i := 0; i < int(nevents); i++ {
    		e := &evts[i]
    		if e.typ == eventtypeClock {
    			continue
    		}
    
    		hangup := e.fdReadwrite.flags&fdReadwriteHangup != 0
    		var mode int32
    		if e.typ == eventtypeFdRead || e.error != 0 || hangup {
    			mode += 'r'
    		}
    		if e.typ == eventtypeFdWrite || e.error != 0 || hangup {
    			mode += 'w'
    		}
    		if mode != 0 {
    			pd := (*pollDesc)(unsafe.Pointer(uintptr(e.userdata)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/net/tcpsock_plan9.go

    }
    
    func (ln *TCPListener) close() error {
    	if err := ln.fd.pfd.Close(); err != nil {
    		return err
    	}
    	if _, err := ln.fd.ctl.WriteString("hangup"); err != nil {
    		ln.fd.ctl.Close()
    		return err
    	}
    	if err := ln.fd.ctl.Close(); err != nil {
    		return err
    	}
    	return nil
    }
    
    func (ln *TCPListener) file() (*os.File, error) {
    	f, err := ln.dup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/runtime/sigtab_linux_generic.go

    //go:build !mips && !mipsle && !mips64 && !mips64le && linux
    
    package runtime
    
    var sigtable = [...]sigTabT{
    	/* 0 */ {0, "SIGNONE: no trap"},
    	/* 1 */ {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"},
    	/* 2 */ {_SigNotify + _SigKill, "SIGINT: interrupt"},
    	/* 3 */ {_SigNotify + _SigThrow, "SIGQUIT: quit"},
    	/* 4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/sigtab_linux_mipsx.go

    //go:build (mips || mipsle || mips64 || mips64le) && linux
    
    package runtime
    
    var sigtable = [...]sigTabT{
    	/*  0 */ {0, "SIGNONE: no trap"},
    	/*  1 */ {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"},
    	/*  2 */ {_SigNotify + _SigKill, "SIGINT: interrupt"},
    	/*  3 */ {_SigNotify + _SigThrow, "SIGQUIT: quit"},
    	/*  4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. src/internal/poll/fd_plan9.go

    	return fd.readLock()
    }
    
    // ReadUnlock wraps FD.readUnlock.
    func (fd *FD) ReadUnlock() {
    	fd.readUnlock()
    }
    
    func isHangup(err error) bool {
    	return err != nil && stringslite.HasSuffix(err.Error(), "Hangup")
    }
    
    func isInterrupted(err error) bool {
    	return err != nil && stringslite.HasSuffix(err.Error(), "interrupted")
    }
    
    // IsPollDescriptor reports whether fd is the descriptor being used by the poller.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/net/ipsock_plan9.go

    	if proto != "tcp" {
    		_, err := ctl.WriteString(msg)
    		return err
    	}
    	written := make(chan struct{})
    	errc := make(chan error)
    	go func() {
    		select {
    		case <-ctx.Done():
    			ctl.WriteString("hangup")
    			errc <- mapErr(ctx.Err())
    		case <-written:
    			errc <- nil
    		}
    	}()
    	_, err := ctl.WriteString(msg)
    	close(written)
    	if e := <-errc; err == nil && e != nil { // we hung up
    		return e
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 20:38:53 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. src/syscall/syscall_wasip1.go

    	SIGWINCH
    	SIGPOLL
    	SIGPWR
    	SIGSYS
    )
    
    func (s Signal) Signal() {}
    
    func (s Signal) String() string {
    	switch s {
    	case SIGNONE:
    		return "no signal"
    	case SIGHUP:
    		return "hangup"
    	case SIGINT:
    		return "interrupt"
    	case SIGQUIT:
    		return "quit"
    	case SIGILL:
    		return "illegal instruction"
    	case SIGTRAP:
    		return "trace/breakpoint trap"
    	case SIGABRT:
    		return "abort"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/os/signal/signal_test.go

    	// If we're being notified, then the signal should not be ignored.
    	if Ignored(syscall.SIGHUP) {
    		t.Errorf("expected SIGHUP to not be ignored.")
    	}
    
    	if want, got := "signal.NotifyContext(context.Background.WithCancel, [hangup])", fmt.Sprint(c); want != got {
    		t.Errorf("c.String() = %q, wanted %q", got, want)
    	}
    
    	stop()
    	<-c.Done()
    	if got := c.Err(); got != context.Canceled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	{1133, "EDQUOT", "disk quota exceeded"},
    }
    
    // Signal table
    var signalList = [...]struct {
    	num  syscall.Signal
    	name string
    	desc string
    }{
    	{1, "SIGHUP", "hangup"},
    	{2, "SIGINT", "interrupt"},
    	{3, "SIGQUIT", "quit"},
    	{4, "SIGILL", "illegal instruction"},
    	{5, "SIGTRAP", "trace/breakpoint trap"},
    	{6, "SIGABRT", "aborted"},
    	{7, "SIGEMT", "EMT trap"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{133, "EHWPOISON", "memory page has hardware error"},
    }
    
    // Signal table
    var signalList = [...]struct {
    	num  syscall.Signal
    	name string
    	desc string
    }{
    	{1, "SIGHUP", "hangup"},
    	{2, "SIGINT", "interrupt"},
    	{3, "SIGQUIT", "quit"},
    	{4, "SIGILL", "illegal instruction"},
    	{5, "SIGTRAP", "trace/breakpoint trap"},
    	{6, "SIGABRT", "aborted"},
    	{7, "SIGBUS", "bus error"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top