1 // Copyright 2017 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.
9 // osRelaxMinNS is the number of nanoseconds of idleness to tolerate
10 // without performing an osRelax. Since osRelax may reduce the
11 // precision of timers, this should be enough larger than the relaxed
12 // timer precision to keep the timer error acceptable.
13 const osRelaxMinNS
= 0
15 // osRelax is called by the scheduler when transitioning to and from
17 func osRelax(relax
bool) {}