#pragma once #include namespace ioprio { void enable(const bool); bool enabled(); int get(const int who); int set(const int who, const int ioprio); struct SetFrom { static thread_local int thread_prio; SetFrom(const pid_t pid); }; };