linked lists

Fered a_Fered at yahoo.com
Thu Aug 23 08:25:34 UTC 2012


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.



More information about the devel mailing list