Leosac  0.8.0
Open Source Access Control
ThreadUtils.cpp File Reference
#include "ThreadUtils.hpp"
#include "enforce.hpp"
#include <errno.h>
#include <spdlog/fmt/fmt.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
#include <unistd.h>
+ Include dependency graph for ThreadUtils.cpp:

Go to the source code of this file.

Namespaces

 Leosac
 This is the header file for a generated source file, GitSHA1.cpp.
 

Functions

uint64_t Leosac::gettid ()
 Return the Linux thread ID. More...
 
void Leosac::set_thread_name (const std::string &name)
 Set the name of the current thread. More...