Files
tinygo/src/internal/task/darwin.go
T
2025-06-30 09:07:54 +02:00

12 lines
238 B
Go

//go:build darwin
package task
import "unsafe"
// MacOS uses a pointer so unsafe.Pointer should be fine:
//
// typedef struct _opaque_pthread_t *__darwin_pthread_t;
// typedef __darwin_pthread_t pthread_t;
type threadID unsafe.Pointer