[Bug 1877] New: RBTree: compare function instead of key

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Aug 2 14:36:25 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1877

           Summary: RBTree: compare function instead of key
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: benesp16 at fel.cvut.cz


Created attachment 1273
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1273
RBTree compare function

This patch extracts key from the RBTree nodes and introduces an user defined
comparison function. Test adjustment included.

2011-08-02  Petr Benes <benesp16 at fel.cvut.cz>
* cpukit/sapi/inline/rtems/rbtree.inl,
cpukit/score/include/rtems/score/rbtree.h,
cpukit/score/inline/rtems/score/rbtree.inl, cpukit/score/src/rbtree.c,
cpukit/score/src/rbtreefind.c, cpukit/score/src/rbtreeinsert.c,
testsuites/sptests/sprbtree01/init.c: Compare function for RBTrees

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list