On Fri, Dec 03, 2010 at 08:36:39AM +0000, Dietmar Maurer wrote:
> I assume those newlines "\n" should not be there?
yip, we need to remove them (there are only a couple).
-Angus
>
> --- ipcs.c.org 2010-12-03 09:32:58.000000000 +0100
> +++ ipcs.c 2010-12-03 09:33:08.000000000 +0100
> @@ -168,7 +168,7 @@
> assert(s->ref_count > 0);
> free_it = qb_atomic_int_dec_and_test(&s->ref_count);
> if (free_it) {
> - qb_util_log(LOG_DEBUG, "%s() - destorying\n", __func__);
> + qb_util_log(LOG_DEBUG, "%s() - destorying", __func__);
> qb_list_for_each_safe(iter, iter_next, &s->connections) {
> c = qb_list_entry(iter, struct qb_ipcs_connection,
> list);
> if (c == NULL) {
>
> > I'd recommend using libqb if you want to use epoll with ipc - its already
> > available. Its far improved and where we are headed in corosync 2.0. If
> > you
> > want to use libcoroipcs/ipcc, epoll could be used, but there is no example
> > code.
> >
> > Regards
> > -steve
>
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais