Commit 485507c
committed
Auto merge of #2328 - vaffeine:add-macos-pthread_mach_thread_np, r=Amanieu
Add mac/ios pthread_mach_thread_np
This function allow to retrieve the mach thread bound to the pthread.
From [pthread.h](https://opensource.apple.com/source/libpthread/libpthread-416.40.3/pthread/pthread.h.auto.html):
```
__API_AVAILABLE(macos(10.4), ios(2.0))
mach_port_t pthread_mach_thread_np(pthread_t);
```1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3980 | 3980 | | |
3981 | 3981 | | |
3982 | 3982 | | |
| 3983 | + | |
3983 | 3984 | | |
3984 | 3985 | | |
3985 | 3986 | | |
| |||
0 commit comments