mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Fixes of previous commit on Posix platforms
This commit is contained in:
parent
81b6883710
commit
6e2a5419cc
2 changed files with 11 additions and 13 deletions
|
@ -2,6 +2,7 @@
|
|||
#define GUI_THREAD_HPP
|
||||
|
||||
#include <utility>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
|
@ -16,7 +17,7 @@ inline void set_thread_name(boost::thread &thread, const std::string &thread_nam
|
|||
void set_current_thread_name(const char *thread_name);
|
||||
inline void set_current_thread_name(const std::string &thread_name) { set_current_thread_name(thread_name.c_str()); }
|
||||
|
||||
void std::string get_current_thread_name() const;
|
||||
std::string get_current_thread_name();
|
||||
|
||||
// To be called somewhere before the TBB threads are spinned for the first time, to
|
||||
// give them names recognizible in the debugger.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue