|
@@ -21,7 +21,7 @@ |
|
|
#include "Sleep.hpp" |
|
|
#include "Sleep.hpp" |
|
|
#include "String.hpp" |
|
|
#include "String.hpp" |
|
|
|
|
|
|
|
|
#ifdef DISTRHO_OS_LINUX |
|
|
|
|
|
|
|
|
#ifdef DISTRHO_OS_LINUX_FULL |
|
|
# include <sys/prctl.h> |
|
|
# include <sys/prctl.h> |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@@ -199,7 +199,7 @@ public: |
|
|
{ |
|
|
{ |
|
|
DISTRHO_SAFE_ASSERT_RETURN(name != nullptr && name[0] != '\0',); |
|
|
DISTRHO_SAFE_ASSERT_RETURN(name != nullptr && name[0] != '\0',); |
|
|
|
|
|
|
|
|
#ifdef DISTRHO_OS_LINUX |
|
|
|
|
|
|
|
|
#ifdef DISTRHO_OS_LINUX_FULL |
|
|
prctl(PR_SET_NAME, name, 0, 0, 0); |
|
|
prctl(PR_SET_NAME, name, 0, 0, 0); |
|
|
#endif |
|
|
#endif |
|
|
#if defined(__GLIBC__) && (__GLIBC__ * 1000 + __GLIBC_MINOR__) >= 2012 |
|
|
#if defined(__GLIBC__) && (__GLIBC__ * 1000 + __GLIBC_MINOR__) >= 2012 |
|
|