On Tue, Nov 09, 2010 at 11:16:05AM -0700, Steven Dake wrote: > totempg still needs locks to protect the top level APIs for those > that want to punish themselves by using totem directly in a threaded > application. There are people doing this today and I don't want to > disrupt their applications. Ideally there would be a libtotem_pg, > and libtotem_pg_mt lib built (where corosync would use libtotem_pg) > to avoid the locking overhead introduced by libtotem_pg_mt. > > Unfortunately we can't rely on lazy bindings to solve the problem > for us because logging pulls in the pthreads library. If we put logsys in a seperate process we can. To simply convert logsys from pthead to process would not be difficult (I can investigate some more). - mainly objdb -> confdb
Angus > > Regards > -steve > > On 11/08/2010 03:58 PM, Angus Salkeld wrote: > >Signed-off-by: Angus Salkeld<[email protected]> > >--- > > exec/main.c | 17 ----------------- > > exec/objdb.c | 9 --------- > > exec/totempg.c | 40 ---------------------------------------- > > include/corosync/cs_queue.h | 30 ------------------------------ > > 4 files changed, 0 insertions(+), 96 deletions(-) > > _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
