Fix warning.
This commit is contained in:
parent
ff91aa0192
commit
7c2fae669a
@ -90,6 +90,8 @@ void ConcurrentScheduler::start() {
|
||||
if (thread_affinity_mask != 0) {
|
||||
thread::set_affinity_mask(this_thread::get_id(), thread_affinity_mask).ignore();
|
||||
}
|
||||
#else
|
||||
(void)thread_affinity_mask;
|
||||
#endif
|
||||
while (!is_finished()) {
|
||||
sched->run(Timestamp::in(10));
|
||||
|
Loading…
Reference in New Issue
Block a user