mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
commit
1a145ea515
|
@ -19,7 +19,7 @@ namespace llarp
|
|||
#ifdef POSIX
|
||||
#if defined(__FreeBSD__)
|
||||
/* on free bsd this function has void return type */
|
||||
pthread_set_name_np(pthread_self(), name.c_str();
|
||||
pthread_set_name_np(pthread_self(), name.c_str());
|
||||
#else
|
||||
#if defined(__MACH__)
|
||||
const int rc = pthread_setname_np(name.c_str());
|
||||
|
|
Loading…
Reference in a new issue