- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for propagateCancel (0.17 sec)
-
src/context/context.go
} func (c *cancelCtx) Err() error { c.mu.Lock() err := c.err c.mu.Unlock() return err } // propagateCancel arranges for child to be canceled when parent is. // It sets the parent context of cancelCtx. func (c *cancelCtx) propagateCancel(parent Context, child canceler) { c.Context = parent done := parent.Done() if done == nil { return // parent is never canceled }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 23.7K bytes - Viewed (0)