Re: [PATCH] score: Use RTEMS_SMP in _Thread_Create_idle()

2022-07-15 Thread Kinsey Moore
On 7/6/2022 13:21, Sebastian Huber wrote: On 06/07/2022 20:19, Gedare Bloom wrote: ok, this changes slightly the order of events in the system state (idle threads are now created in the preceding state, SYSTEM_STATE_BEFORE_INITIALIZATION) but without thinking too hard about it, I think it should

Re: [PATCH] score: Use RTEMS_SMP in _Thread_Create_idle()

2022-07-06 Thread Sebastian Huber
On 06/07/2022 20:19, Gedare Bloom wrote: ok, this changes slightly the order of events in the system state (idle threads are now created in the preceding state, SYSTEM_STATE_BEFORE_INITIALIZATION) but without thinking too hard about it, I think it should be fine. Yes, it doesn't really matter.

Re: [PATCH] score: Use RTEMS_SMP in _Thread_Create_idle()

2022-07-06 Thread Gedare Bloom
ok, this changes slightly the order of events in the system state (idle threads are now created in the preceding state, SYSTEM_STATE_BEFORE_INITIALIZATION) but without thinking too hard about it, I think it should be fine. On Tue, Jul 5, 2022 at 1:06 AM Sebastian Huber wrote: > > Conditional expr

[PATCH] score: Use RTEMS_SMP in _Thread_Create_idle()

2022-07-05 Thread Sebastian Huber
Conditional expressions with inline functions are not optimized away if optimization is disabled. Avoid such expressions to prevent dead branches. --- cpukit/score/src/threadcreateidle.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/score/src/threadcreateidle.c