ThreadSchedule 4.1.0
Modern C++ thread management library
Loading...
Searching...
No Matches
identity.hpp File Reference

Native process-thread identity and Linux name lookup helpers. More...

#include "../../result.hpp"
#include "../scheduling/native.hpp"
#include <algorithm>
#include <charconv>
#include <cstdint>
#include <fstream>
#include <memory>
#include <optional>
#include <sstream>
#include <string>
#include <string_view>
#include <system_error>
#include <vector>
#include <cerrno>
#include <dirent.h>
#include <sys/syscall.h>
#include <unistd.h>
Include dependency graph for identity.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  threadschedule::detail::native_thread_identity

Namespaces

namespace  threadschedule
namespace  threadschedule::detail
 Aggregates multiple thread_registry_backend instances into a single queryable view.

Functions

auto threadschedule::detail::read_thread_start_time (native_thread_id id) noexcept -> std::optional< std::uint64_t >
auto threadschedule::detail::native_thread_is_alive (native_thread_identity const &identity) noexcept -> bool
auto threadschedule::detail::find_native_threads_by_name (std::string_view name) -> result< std::vector< native_thread_identity > >

Detailed Description

Native process-thread identity and Linux name lookup helpers.

Definition in file identity.hpp.