github.com/madokast/nopreempt@v1.0.3-0.20240125081507-3fa05aef38ed/signal_unix.go (about)

     1  // Copyright 2012 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 unix
     6  
     7  package nopreempt
     8  
     9  // gsignalStack saves the fields of the gsignal stack changed by
    10  // setGsignalStack.
    11  type gsignalStack struct {
    12  	stack       stack
    13  	stackguard0 uintptr
    14  	stackguard1 uintptr
    15  	stktopsp    uintptr
    16  }