package cgotest
import "cmd/cgo/internal/test"
Test that pthread_cancel works as expected (NPTL uses SIGRTMIN to implement thread cancellation) See https://golang.org/issue/6997
Index ¶
- Constants
- Variables
- func Add(x int)
- func Atol(s string) int
- func BackIntoGo()
- func CheckIssue6907Go(s string) C.int
- func Fissue299748()
- func GoFunc37033(handle C.uintptr_t)
- func GoFunc49633(context unsafe.Pointer)
- func GoIssue6833Func(aui uint, aui64 uint64) uint64
- func Gosched()
- func IMPDrawRect()
- func IMPInitWithFrame()
- func IMPIsOpaque()
- func IMPWindowResize()
- func IntoGoAndBack()
- func Issue1560FromC()
- func Issue1560FromGo()
- func Issue23720F()
- func Issue29383(n, size uint) int
- func Issue31093()
- func Issue40494()
- func Issue42495A(C.T42495A)
- func Issue42495B(C.T42495B)
- func Issue8148() int
- func ReturnIntLong() (int, C.long)
- func Strtol(s string, base int) (int, error)
- func Test8945()
- func TestComplexAlign(t *testing.T)
- type AsyncEvent
- type Context
Constants ¶
const CString = "C string"
const EINVAL = C.EINVAL /* test #define */
Variables ¶
var KILO = C.KILO
var Used byte
var Vissue22958 C.issue22958Type
issue 22958 Nothing to run, just make sure this compiles.
Functions ¶
func Add ¶
func Add(x int)
func Atol ¶
func BackIntoGo ¶
func BackIntoGo()
func CheckIssue6907Go ¶
func Fissue299748 ¶
func Fissue299748()
func GoFunc37033 ¶
func GoFunc37033(handle C.uintptr_t)
func GoFunc49633 ¶
func GoIssue6833Func ¶
func Gosched ¶
func Gosched()
func IMPDrawRect ¶
func IMPDrawRect()
func IMPInitWithFrame ¶
func IMPInitWithFrame()
func IMPIsOpaque ¶
func IMPIsOpaque()
func IMPWindowResize ¶
func IMPWindowResize()
func IntoGoAndBack ¶
func IntoGoAndBack()
func Issue1560FromC ¶
func Issue1560FromC()
func Issue1560FromGo ¶
func Issue1560FromGo()
func Issue23720F ¶
func Issue23720F()
func Issue29383 ¶
func Issue31093 ¶
func Issue31093()
func Issue40494 ¶
func Issue40494()
func Issue42495A ¶
func Issue42495A(C.T42495A)
func Issue42495B ¶
func Issue42495B(C.T42495B)
func Issue8148 ¶
func Issue8148() int
func ReturnIntLong ¶
func Strtol ¶
func Test8945 ¶
func Test8945()
func TestComplexAlign ¶
Types ¶
type AsyncEvent ¶
type AsyncEvent struct {
// contains filtered or unexported fields
}
issue 1222
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Source Files ¶
backdoor.go buildid_linux.go callback.go cgo_thread_lock.go gcc68255.go issue1435.go issue18146.go issue20266.go issue21897b.go issue23555.go issue26430.go issue26743.go issue27340.go issue29563.go issue30527.go issue4029.go issue41761.go issue42018.go issue42495.go issue43639.go issue52611.go issue6997_linux.go issue8148.go issue8517.go issue8694.go issue8756.go issue8828.go issue9026.go issue9400_linux.go issue9510.go setgid2_linux.go setgid_linux.go sigaltstack.go sigprocmask.go test.go test26213.go test_unix.go testx.go typeparam.go
Directories ¶
- Version
- v1.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Imports
- 45 packages
- Last checked
- 23 minutes ago –
Tools for package owners.