Black Lives Matter. Support the Equal Justice Initiative.

Source file src/runtime/os_nonopenbsd.go

Documentation: runtime

     1  // Copyright 2018 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 !openbsd
     6  // +build !openbsd
     7  
     8  package runtime
     9  
    10  // osStackAlloc performs OS-specific initialization before s is used
    11  // as stack memory.
    12  func osStackAlloc(s *mspan) {
    13  }
    14  
    15  // osStackFree undoes the effect of osStackAlloc before s is returned
    16  // to the heap.
    17  func osStackFree(s *mspan) {
    18  }
    19  

View as plain text