Implement process and thread priority adjustments (#691)

This commit is contained in:
Cameron Gutman
2023-01-03 21:05:00 -06:00
committed by GitHub
parent 997e8c6e5a
commit cc688c7845
8 changed files with 128 additions and 2 deletions

View File

@@ -153,6 +153,18 @@ bp::child run_unprivileged(const std::string &cmd, boost::filesystem::path &work
}
}
void adjust_thread_priority(thread_priority_e priority) {
// Unimplemented
}
void streaming_will_start() {
// Nothing to do
}
void streaming_will_stop() {
// Nothing to do
}
namespace source {
enum source_e : std::size_t {
#ifdef SUNSHINE_BUILD_CUDA