Function utils::set_cpu
Contents
Function utils::set_cpu#
Defined in File rt_tools.hpp
Function Documentation#
-
bool utils::set_cpu(int cpu)#
Fix the cpu of the current thread.
- Parameters
cpu – [in]
- Returns
true
- Returns
false
Corail is free software: you can redistribute it and/or modify it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.