[Openais] Question about new IPC and dispatcher

Ryan O'Hara rohara at redhat.com
Wed Feb 25 20:48:55 PST 2009

Sorry. I hit send a bit early. :) 

On Wed, Feb 25, 2009 at 10:38:57PM -0600, Ryan O'Hara wrote:
> Steve,
> I was looking at the ckpt service in trunk, which uses the new ipc
> code. We used to memset the dispatch_data prior to the old

We used to memset the dispatch_data prior the receiving the message in
the old code. Do we need to do this prior to the cslib_dispatch_recv()
call? I don't think it is strictly necessary.

I'm asking because I had trouble with this today. The quick-and-dirty
changes to the msg service weren't sufficient, and the old memset was
still in-place. Also, the mutex lock/unlock needed to be shifted
around. We should probably review the other services' dispatch code.

More information about the Openais mailing list