[Openais] [PATCH] Message Service - remove queue_group_entry structure

Ryan O'Hara rohara at redhat.com
Fri Aug 8 11:49:13 PDT 2008


Commited today.

New revision # for openais trunk is 1627.

On Fri, Aug 08, 2008 at 09:36:59AM -0700, Steven Dake wrote:
> On Thu, 2008-08-07 at 16:19 -0500, Ryan O'Hara wrote:
> > Here is a patch to the OpenAIS message service that removes the
> > queue_group_entry structure that made the code more complex that
> > necessary. This structure was essentially a wrapper around the
> > message_queue structure, and was only used for maintaining a list of
> > queues withing a queue group. Note that instead of using this extra
> > structure, the queue_group can keep a list of message_queue structs
> > directly.
> > 
> > This should make the code much easier to maintain, as well as simplify
> > the synchronization code, which is currently being developed.
> > 
> 
> please feel free to commit the patch it looks good to me.
> 
> > On a related note, we should consider updating list.h to include some
> > of the handy iterators found in the kernel version of this header.
> > 
> 
> ya we can consider this.  I never liked how those iterators worked so
> never added them to list.h.  But other developers may find them handy.
> 
> > Ryan
> > 
> > _______________________________________________
> > Openais mailing list
> > Openais at lists.linux-foundation.org
> > https://lists.linux-foundation.org/mailman/listinfo/openais


More information about the Openais mailing list