diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-05-03 16:44:02 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-03 16:45:48 -0700 |
commit | 279f9fcee763a52d210f8269bc4c871b7eee112f (patch) | |
tree | af2d397dce721ead0d80efd8a768e84e3f8e38ff /pkg/sync/checklocks_on_unsafe.go | |
parent | f0b3298db07df63fa74559d5689008f9de9980a9 (diff) |
Implement standard clock safely
Previously, tcpip.StdClock depended on linking with the unexposed method
time.now to implement tcpip.Clock using the time package. This change
updates the standard clock to not require manually linking to this
unexported method and use publicly documented functions from the time
package.
PiperOrigin-RevId: 371805101
Diffstat (limited to 'pkg/sync/checklocks_on_unsafe.go')
0 files changed, 0 insertions, 0 deletions