[Openais] [openais-whitetank patch] fix lib_exit returning -1 to work properly

Steven Dake sdake at redhat.com
Tue Sep 2 15:57:48 PDT 2008


When lib_exit returns -1 (indicating the totem queue is full and unable
to send new messages), the ipc system should allow the transmission of
totem messages in this condition.  However, with the current code, a
global lock is held during this period, locking out the ability to send
totem messages and resulting in a repeating loop if lib_exit_fn returns
-1 because it expects totem message queue space to become available.

Patch attached to fix.

Regards
-steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipc-lib_exit-fix.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20080902/464cfd40/attachment.bin 


More information about the Openais mailing list