Skip to content
Snippets Groups Projects
Commit cd47b46a authored by bors's avatar bors
Browse files

Auto merge of #1599 - YangKeao:macos, r=gnzlbg


add pthread_getname_np for mac os

In macos's `pthread.h`

```c
/*SPI to set and get pthread name*/
__API_AVAILABLE(macos(10.6), ios(3.2))
int	pthread_getname_np(pthread_t,char*,size_t);

__API_AVAILABLE(macos(10.6), ios(3.2))
int	pthread_setname_np(const char*);
```

I believe `pthread_getname_np` is usable in macos after 10.6.

Signed-off-by: default avatarYang Keao <keao.yang@yahoo.com>
parents f992fd41 7022df3d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment