Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for signalWaitUntilIdle (0.22 sec)

  1. src/runtime/sigqueue_plan9.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() {
    	for {
    		lock(&sig.lock)
    		sleeping := sig.sleeping
    		unlock(&sig.lock)
    		if sleeping {
    			return
    		}
    		Gosched()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. 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)
  3. 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