mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Workarounds and documentation of OSX posix incompatibilities
This commit is contained in:
parent
723406dfea
commit
d8f45ff1d8
3 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue