pstore2
Macros | Functions
thread_posix.cpp File Reference

Implementation of functions to get and set the name of the current thread on POSIX systems. More...

#include "pstore/os/thread.hpp"
#include <array>
#include <cerrno>
#include <cstring>
#include <system_error>
#include <pthread.h>
#include <unistd.h>
#include "pstore/config/config.hpp"
#include "pstore/support/error.hpp"
#include "pstore/support/unsigned_cast.hpp"
Include dependency graph for thread_posix.cpp:

Macros

#define USE_FALLBACK   1
 

Functions

void pstore::threads::set_name (gsl::not_null< gsl::czstring > name)
 
gsl::czstring pstore::threads::get_name (gsl::span< char, name_size > name)
 

Detailed Description

Implementation of functions to get and set the name of the current thread on POSIX systems.