From 0036ddf1f6263c3d352645f4d3a9afe4ba388bb2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 17 Sep 2021 08:12:35 +0200 Subject: score: Provide two thread pin/unpin defaults The uniprocessor schedulers do not support systems with more than more processors. So they rivially support thread pinning and thus the SMP_FATAL_SCHEDULER_PIN_OR_UNPIN_NOT_SUPPORTED cannot happen. Add a second default implementation for SMP schedulers which do not support thread pinning. Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053. --- spec/build/cpukit/objsmp.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/build/cpukit/objsmp.yml') diff --git a/spec/build/cpukit/objsmp.yml b/spec/build/cpukit/objsmp.yml index ef7b331a6f..c1b0611d0c 100644 --- a/spec/build/cpukit/objsmp.yml +++ b/spec/build/cpukit/objsmp.yml @@ -15,6 +15,7 @@ source: - cpukit/score/src/profilingsmplock.c - cpukit/score/src/schedulerdefaultaskforhelp.c - cpukit/score/src/schedulerdefaultpinunpin.c +- cpukit/score/src/schedulerdefaultpinunpindonothing.c - cpukit/score/src/schedulerdefaultsetaffinity.c - cpukit/score/src/scheduleredfsmp.c - cpukit/score/src/schedulerpriorityaffinitysmp.c -- cgit v1.2.3