some useful utils More...
#include <thread>
#include <cstdio>
#include <sstream>
#include <cstdarg>
#include <pthread.h>
Go to the source code of this file.
Namespaces | |
namespace | mavutils |
Functions | |
bool | mavutils::set_thread_name (std::thread &thd, const char *name,...) |
Set std::thread name with printf-like mode. | |
template<typename Thread > | |
bool | mavutils::set_thread_name (Thread &thd, std::string &name) |
Set thread name (std::string variation) | |
template<typename T > | |
const std::string | mavutils::to_string_ss (T &obj) |
Convert to string objects with operator <<. |
some useful utils
Definition in file thread_utils.h.