On 30/05/2022 08:29, gabriel.moy...@dlr.de wrote:
On 27.05.22 11:49,gabriel.moy...@dlr.de wrote:
On 27.05.22 10:51, Sebastian Huber wrote:
Hello Gabriel,
the uniprocessor version uses an optimization at the reader side:
#if defined(RTEMS_SMP)
} while (gen == 0 || gen != th->th_generat
> On 27.05.22 11:49, gabriel.moy...@dlr.de wrote:
> >> On 27.05.22 10:51, Sebastian Huber wrote:
> >>> Hello Gabriel,
> >>>
> >>> the uniprocessor version uses an optimization at the reader side:
> >>>
> >>> #if defined(RTEMS_SMP)
> >>> } while (gen == 0 || gen != th->th_generation); #else
>
On 27.05.22 11:49, gabriel.moy...@dlr.de wrote:
On 27.05.22 10:51, Sebastian Huber wrote:
Hello Gabriel,
the uniprocessor version uses an optimization at the reader side:
#if defined(RTEMS_SMP)
} while (gen == 0 || gen != th->th_generation); #else
} while (gen != th->th_generatio
> On 27.05.22 10:51, Sebastian Huber wrote:
> > Hello Gabriel,
> >
> > the uniprocessor version uses an optimization at the reader side:
> >
> > #if defined(RTEMS_SMP)
> > } while (gen == 0 || gen != th->th_generation); #else
> > } while (gen != th->th_generation); #endif
> >
> > This is
On 27.05.22 10:51, Sebastian Huber wrote:
Hello Gabriel,
the uniprocessor version uses an optimization at the reader side:
#if defined(RTEMS_SMP)
} while (gen == 0 || gen != th->th_generation);
#else
} while (gen != th->th_generation);
#endif
This is possible since the windup happens
Hello Gabriel,
the uniprocessor version uses an optimization at the reader side:
#if defined(RTEMS_SMP)
} while (gen == 0 || gen != th->th_generation);
#else
} while (gen != th->th_generation);
#endif
This is possible since the windup happens with interrupts disabled. I
guess y
---
cpukit/score/src/kern_tc.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 89ece1fbde..3256b646ef 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -1659,9 +165