Support for the macOS platform
[platform/core/uifw/dali-adaptor.git] / third-party / macos-platform / thread.cpp
1 #include <sys/prctl.h>
2 #include <pthread.h>
3
4 extern "C" int prctl( int type, const char *str )
5 {
6   if (PR_SET_NAME == type)
7   {
8     pthread_setname_np(str);
9   }
10   return 0;
11 }