github.com/ii64/gouring@v0.4.1/sigset.go (about)

     1  package gouring
     2  
     3  import (
     4  	"unsafe"
     5  )
     6  
     7  const (
     8  	SizeofUint64  = unsafe.Sizeof(uint64(0))
     9  	SIGSET_NWORDS = (1024 / (8 * SizeofUint64))
    10  	SIGTMIN       = 32
    11  	SIGTMAX       = SIGTMIN
    12  	NSIG          = (SIGTMAX + 1)
    13  )
    14  
    15  type Sigset_t struct {
    16  	Val [SIGSET_NWORDS]uint64
    17  }
    18  
    19  // https://baike.baidu.com/item/sigset_t/4481187