mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-31 09:20:21 +00: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 New Issue
Block a user