mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-26 07:11:23 -05:00
Workarounds and documentation of OSX posix incompatibilities
This commit is contained in:
1 parent
723406dfea
commit
d8f45ff1d8
3 files changed
+9
-2
No files matched your search
@@ -116,8 +116,10 @@ void set_current_thread_name(const char *thread_name)
|
||||
|
||||
std::string get_current_thread_name()
|
||||
{
|
||||
char buf[16];
|
||||
return std::string(thread_getname_np(buf, 16) == 0 ? buf : "");
|
||||
// not supported
|
||||
// char buf[16];
|
||||
// return std::string(thread_getname_np(buf, 16) == 0 ? buf : "");
|
||||
throw CriticalException("Not supported");
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user