From 24934e36e2513f972510d7c746103be1f766dc6a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 3 Apr 2014 15:03:35 +0200 Subject: score: Add scheduler control to scheduler ops Scheduler operations must be free of a global scheduler context to enable partitioned/clustered scheduling. --- cpukit/posix/src/pthreadcreate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/posix/src/pthreadcreate.c') diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c index 8ae790480b..f85e1efcfd 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -194,6 +194,7 @@ int pthread_create( #if defined(RTEMS_SMP) && __RTEMS_HAVE_SYS_CPUSET_H__ status = _Scheduler_Set_affinity( + _Scheduler_Get( the_thread ), the_thread, the_attr->affinitysetsize, the_attr->affinityset -- cgit v1.2.3