Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for firstterm (0.07 sec)

  1. src/os/exec/exec.go

    		type goroutineStatus struct {
    			running  int
    			firstErr error
    		}
    		statusc := make(chan goroutineStatus, 1)
    		statusc <- goroutineStatus{running: len(c.goroutine)}
    		for _, fn := range c.goroutine {
    			go func(fn func() error) {
    				err := fn()
    
    				status := <-statusc
    				if status.firstErr == nil {
    					status.firstErr = err
    				}
    				status.running--
    				if status.running == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top