Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for alarm (0.16 sec)

  1. src/runtime/sigtab_linux_generic.go

    	/* 24 */ {_SigNotify, "SIGXCPU: cpu limit exceeded"},
    	/* 25 */ {_SigNotify, "SIGXFSZ: file size limit exceeded"},
    	/* 26 */ {_SigNotify, "SIGVTALRM: virtual alarm clock"},
    	/* 27 */ {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"},
    	/* 28 */ {_SigNotify + _SigIgn, "SIGWINCH: window size change"},
    	/* 29 */ {_SigNotify, "SIGIO: i/o now possible"},
    	/* 30 */ {_SigNotify, "SIGPWR: power failure restart"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. src/runtime/sigtab_linux_mipsx.go

    	/*  27 */ {_SigNotify + _SigDefault + _SigIgn, "SIGTTOU: background write to tty"},
    	/*  28 */ {_SigNotify, "SIGVTALRM: virtual alarm clock"},
    	/*  29 */ {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"},
    	/*  30 */ {_SigNotify, "SIGXCPU: cpu limit exceeded"},
    	/*  31 */ {_SigNotify, "SIGXFSZ: file size limit exceeded"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. src/go/doc/testdata/testing.1.golden

    	// Short reports whether the -test.short flag is set. 
    	func Short() bool
    
    	// after runs after all testing. 
    	func after()
    
    	// alarm is called if the timeout expires. 
    	func alarm()
    
    	// before runs before all testing. 
    	func before()
    
    	// decorate inserts the final newline if needed and indentation ...
    	func decorate(s string, addFileLine bool) string
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  4. src/go/doc/testdata/testing.go

    	}
    }
    
    var timer *time.Timer
    
    // startAlarm starts an alarm if requested.
    func startAlarm() {
    	if *timeout > 0 {
    		timer = time.AfterFunc(*timeout, alarm)
    	}
    }
    
    // stopAlarm turns off the alarm.
    func stopAlarm() {
    	if *timeout > 0 {
    		timer.Stop()
    	}
    }
    
    // alarm is called if the timeout expires.
    func alarm() {
    	panic("test timed out")
    }
    
    func parseCpuList() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go

    //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64)
    
    package unix
    
    // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH
    // values.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 440 bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/needmdeadlock.go

    	register("NeedmDeadlock", NeedmDeadlock)
    }
    
    //export GoNeedM
    func GoNeedM() {
    }
    
    func NeedmDeadlock() {
    	// The failure symptom is that the program hangs because of a
    	// deadlock in needm, so set an alarm.
    	go func() {
    		time.Sleep(5 * time.Second)
    		fmt.Println("Hung for 5 seconds")
    		os.Exit(1)
    	}()
    
    	C.runNeedmSignalThread()
    	fmt.Println("OK")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. src/syscall/syscall_wasip1.go

    		return "user defined signal 1"
    	case SIGSEGV:
    		return "segmentation fault"
    	case SIGUSR2:
    		return "user defined signal 2"
    	case SIGPIPE:
    		return "broken pipe"
    	case SIGALRM:
    		return "alarm clock"
    	case SIGTERM:
    		return "terminated"
    	case SIGCHLD:
    		return "child exited"
    	case SIGCONT:
    		return "continued"
    	case SIGSTOP:
    		return "stopped (signal)"
    	case SIGTSTP:
    		return "stopped"
    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/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Alarm(seconds uint) (remaining uint, err error) {
    	r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
    	remaining = uint(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Alarm(seconds uint) (remaining uint, err error) {
    	r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
    	remaining = uint(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	{9, "SIGKILL", "killed"},
    	{10, "SIGBUS", "bus error"},
    	{11, "SIGSEGV", "segmentation fault"},
    	{12, "SIGSYS", "bad system call"},
    	{13, "SIGPIPE", "broken pipe"},
    	{14, "SIGALRM", "alarm clock"},
    	{15, "SIGTERM", "terminated"},
    	{16, "SIGUSR1", "user defined signal 1"},
    	{17, "SIGUSR2", "user defined signal 2"},
    	{18, "SIGCHLD", "child exited"},
    	{19, "SIGPWR", "power failure"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top