mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
12 lines
238 B
Go
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
|