Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for signalWaitUntilIdle (0.21 sec)

  1. src/runtime/sigqueue.go

    // the signal(s) in question, and here we are just waiting to make sure
    // that all the signals have been delivered to the user channels
    // by the os/signal package.
    //
    //go:linkname signalWaitUntilIdle os/signal.signalWaitUntilIdle
    func signalWaitUntilIdle() {
    	// Although the signals we care about have been removed from
    	// sig.wanted, it is possible that another thread has received
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/os/signal/signal.go

    	// channels being stopped and wait for signal delivery to
    	// quiesce before fully removing it.
    
    	handlers.stopping = append(handlers.stopping, stopping{c, h})
    
    	handlers.Unlock()
    
    	signalWaitUntilIdle()
    
    	handlers.Lock()
    
    	for i, s := range handlers.stopping {
    		if s.c == c {
    			handlers.stopping = append(handlers.stopping[:i], handlers.stopping[i+1:]...)
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top