github.com/comwrg/go/src@v0.0.0-20220319063731-c238d0440370/runtime/preempt_nonwindows.go (about)

     1  // Copyright 2020 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  //go:build !windows
     6  // +build !windows
     7  
     8  package runtime
     9  
    10  //go:nosplit
    11  func osPreemptExtEnter(mp *m) {}
    12  
    13  //go:nosplit
    14  func osPreemptExtExit(mp *m) {}