[email protected] wrote:
linux-ha CVS committal

Author  : andrew
Host : Project : linux-ha
Module  : lib

Dir     : linux-ha/lib/clplumbing


Modified Files:
cl_log.c

Log Message:
Avoid using nasty timeouts to be sure that all logging has been sent to ha_logd


+void
+cl_flush_logs(void) +{
+       if(logging_daemon_chan == NULL) {
+               return;
+       }
+       logging_daemon_chan->ops->waitout(logging_daemon_chan);
+       sleep(2);


If the sleep(2) is needed, then that's a bug.

Do you know if it's needed?


--
    Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to