1 // Copyright 2021 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
17 // Start a goroutine that loops forever.
22 atomic.StoreInt32(&started, 1)
29 for atomic.LoadInt32(&started) == 0 {