Skip to content

Commit ca24a17

Browse files
committed
Check for pthread_setname_np
1 parent 4c5fb69 commit ca24a17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ check_function_exists(pthread_attr_setcpupercent_np HAVE_PTHREAD_ATTR_SETCPUPERC
206206
check_function_exists(pthread_yield_np HAVE_PTHREAD_YIELD_NP)
207207
check_function_exists(pthread_main_np HAVE_PTHREAD_MAIN_NP)
208208
check_function_exists(pthread_workqueue_setdispatch_np HAVE_PTHREAD_WORKQUEUE_SETDISPATCH_NP)
209+
check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP)
209210
check_function_exists(strlcpy HAVE_STRLCPY)
210211
check_function_exists(sysconf HAVE_SYSCONF)
211212
check_function_exists(arc4random HAVE_ARC4RANDOM)

0 commit comments

Comments
 (0)