fixes Thread initializer for ARC/ORC on Macos (#20368)
* fixes Thread initializer for ARC/ORC * another try * fix * use int
This commit is contained in:
parent
3a5e38ab9d
commit
f6dc30e52d
2 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ else:
|
|||
header: "<pthread.h>".} = cint
|
||||
else:
|
||||
type
|
||||
SysThread* {.importc: "pthread_t", header: "<sys/types.h>".} = object
|
||||
SysThread* {.importc: "pthread_t", header: "<sys/types.h>".} = int
|
||||
Pthread_attr {.importc: "pthread_attr_t",
|
||||
header: "<sys/types.h>".} = object
|
||||
ThreadVarSlot {.importc: "pthread_key_t",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue