Folks, Joe is porting openais to bsd (and Darwin). During this process, we found a problem with the portability of our ipc layer because of the fact that sendmsg doesn't honor the MSG_DONTWAIT flag. A quick google search brought up this thread with the same problem in linux-ha:
http://www.gossamer-threads.com/lists/linuxha/dev/22220 The fix in this thread was to increase the buffer size of the send queue in the kernel. A more portable fix is to set the O_NONBLOCK flag via the fcntl syscall. This seems to work properly on Linux and Darwin (Joe's darwin port now works for me on macosx). Alan mentioned rewriting the code - i'm not sure if this has been done yet, but if it hasn't you might keep this tip in mind. Regards -steve _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
