linked lists
Fered
a_Fered at yahoo.com
Tue Aug 28 07:17:13 UTC 2012
Fered wrote:
> Ralf Corsepius wrote:
> > On 08/23/2012 09:17 AM, Fered wrote:
> > > Hi;
> > > Some questions about linked lists in RTEMS:
> > >
> > > 1- Is the recommended method for having linked lists, using
> > > Chain_Control
> > > struct?
> >
> > Depends on what you are aiming at.
> >
> > For non-directly RTEMS related works (e.g. libraries), I recommend using
> > BSD linked lists. Though they are not covered by common standard, the
> > implementation is very lean and widely present on almost all system
> > (Comprising Linux, the BSDs and many other OSes).
> >
> > In RTEMS, they are provided as part of the toolchain's header (c.f.
> > /opt/rtems*/<target>/include/sys/queue.h).
> >
> > Ralf
> >
> >
> > _______________________________________________
> > rtems-devel mailing list
> > rtems-devel at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-devel
>
> Suppose I want to have a linked list of some threads in RTEMS core. It's a
> OS level data structure. Same as _Thread_Ready_chain.
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
I expected more answers!
More information about the devel
mailing list