Committed revision 1794.

As this patch now only affects the CFG subsystem I took the liberty...

Steven Dake wrote:
> I see no reason why this can't be done with
> cslib_msg_send_reply_receive.
> 
> I don't want to make cslib_msg_send public for 1 special case.
> 
> Try to work it in with the api that is there.
> 
> Regards
> -steve
> 
> On Fri, 2009-02-27 at 11:30 +0000, Chrissie Caulfield wrote:
>> The IPC patch broke CFG shutdown in several places, this patches fixes
>> all of them.
>>
>> In particular, cfg_try_shutdown asks all applications that are
>> registered for callbacks if they approve the shutdown. This caused a bit
>> of a re-entrancy problem because it also asked the process that called
>> for the shutdown! The patch causes cfg to only ask OTHER applications in
>> the assumption that any application that calls
>> corosync_cfg_tryshutdown() will approve of the action :-)
>>
>> In addition it adds the response to cfg_replyto_shutdown which was
>> missing (it couldn't be used with the old system but it mandatory now),
>> and removes a double-free in the library finalise code.
>>
>> Chrissie
>> _______________________________________________
>> Openais mailing list
>> [email protected]
>> https://lists.linux-foundation.org/mailman/listinfo/openais
> 


-- 

Chrissie
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to