diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-27 15:24:06 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-27 15:24:06 +0200 |
commit | 09c4750ef8973c08d6ef2aba70f5385ffd75f4c4 (patch) | |
tree | c52c8d60a45ad6149f4bb64708f63b54f1772010 /src/threading.h | |
parent | b482ed9c30cddac31dcff2d19e517bf20af30d10 (diff) | |
download | lanes-09c4750ef8973c08d6ef2aba70f5385ffd75f4c4.tar.gz lanes-09c4750ef8973c08d6ef2aba70f5385ffd75f4c4.tar.bz2 lanes-09c4750ef8973c08d6ef2aba70f5385ffd75f4c4.zip |
More string_view
Diffstat (limited to '')
-rw-r--r-- | src/threading.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threading.h b/src/threading.h index d88d308..521618b 100644 --- a/src/threading.h +++ b/src/threading.h | |||
@@ -68,8 +68,8 @@ static constexpr int kThreadPrioMax{ +3 }; | |||
68 | // ################################################################################################# | 68 | // ################################################################################################# |
69 | // ################################################################################################# | 69 | // ################################################################################################# |
70 | 70 | ||
71 | void THREAD_SETNAME(char const* _name); | 71 | void THREAD_SETNAME(std::string_view const& name_); |
72 | void THREAD_SET_PRIORITY(int prio_, bool sudo_); | 72 | void THREAD_SET_PRIORITY(int prio_, bool sudo_); |
73 | void THREAD_SET_AFFINITY(unsigned int aff); | 73 | void THREAD_SET_AFFINITY(unsigned int aff_); |
74 | 74 | ||
75 | void JTHREAD_SET_PRIORITY(std::jthread& thread_, int prio_, bool sudo_); | 75 | void JTHREAD_SET_PRIORITY(std::jthread& thread_, int prio_, bool sudo_); |