MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / CreateThread

Function CreateThread

pkg/sys/zsyscall_windows.go:148–152  ·  view source on GitHub ↗
(attributes *windows.SecurityAttributes, stackSize uint, startAddress uintptr, param uintptr, creationFlags uint32, threadID *uint32)

Source from the content-addressed store, hash-verified

146}
147
148func CreateThread(attributes *windows.SecurityAttributes, stackSize uint, startAddress uintptr, param uintptr, creationFlags uint32, threadID *uint32) (handle windows.Handle) {
149 r0, _, _ := syscall.Syscall6(procCreateThread.Addr(), 6, uintptr(unsafe.Pointer(attributes)), uintptr(stackSize), uintptr(startAddress), uintptr(param), uintptr(creationFlags), uintptr(unsafe.Pointer(threadID)))
150 handle = windows.Handle(r0)
151 return
152}
153
154func FreeConsole() {
155 syscall.Syscall(procFreeConsole.Addr(), 0, 0, 0, 0)

Callers 2

GetHandleWithTimeoutFunction · 0.92
newWorkerFunction · 0.92

Calls 1

HandleMethod · 0.80

Tested by

no test coverage detected