OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Thread.hpp File Reference
#include <optional>
#include <utility>
#include <string>
#include <thread>
#include <boost/thread.hpp>
Include dependency graph for Thread.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/

Functions

bool Slic3r::set_thread_name (std::thread &thread, const char *thread_name)
bool Slic3r::set_thread_name (std::thread &thread, const std::string &thread_name)
bool Slic3r::set_thread_name (boost::thread &thread, const char *thread_name)
bool Slic3r::set_thread_name (boost::thread &thread, const std::string &thread_name)
bool Slic3r::set_current_thread_name (const char *thread_name)
bool Slic3r::set_current_thread_name (const std::string &thread_name)
void Slic3r::save_main_thread_id ()
boost::thread::id Slic3r::get_main_thread_id ()
bool Slic3r::is_main_thread_active ()
std::optional< std::string > Slic3r::get_current_thread_name ()
void Slic3r::name_tbb_thread_pool_threads_set_locale ()
template<class Fn>
boost::thread Slic3r::create_thread (boost::thread::attributes &attrs, Fn &&fn)
template<class Fn>
boost::thread Slic3r::create_thread (Fn &&fn)