Update
This commit is contained in:
1 parent
007438e372
commit
6e637ecf77
1763 files changed
+60820
-279516
No files matched your search
+2
-2
@@ -4,9 +4,9 @@
|
||||
package goroutines
|
||||
|
||||
import (
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
||||
"tailscale.com/syncs"
|
||||
"tailscale.com/util/set"
|
||||
)
|
||||
|
||||
@@ -15,7 +15,7 @@ type Tracker struct {
|
||||
started atomic.Int64 // counter
|
||||
running atomic.Int64 // gauge
|
||||
|
||||
mu sync.Mutex
|
||||
mu syncs.Mutex
|
||||
onDone set.HandleSet[func()]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user