Source file src/runtime/os_nonopenbsd.go
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 7 package runtime 8 9 // osStackAlloc performs OS-specific initialization before s is used 10 // as stack memory. 11 func osStackAlloc(s *mspan) { 12 } 13 14 // osStackFree undoes the effect of osStackAlloc before s is returned 15 // to the heap. 16 func osStackFree(s *mspan) { 17 } 18