src/internal/race/doc.go
raw| 1 | // Copyright 2015 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. |
| 4 | |
| 5 | /* |
| 6 | Package race contains helper functions for manually instrumenting code for the race detector. |
| 7 | |
| 8 | The runtime package intentionally exports these functions only in the race build; |
| 9 | this package exports them unconditionally but without the "race" build tag they are no-ops. |
| 10 | */ |
| 11 | package race |