]> sourceware.org Git - dm.git/commit
Change the multilog code to toggle between async and sync writes for all
authorAJ Lewis <alewis@redhat.com>
Wed, 25 May 2005 21:08:36 +0000 (21:08 +0000)
committerAJ Lewis <alewis@redhat.com>
Wed, 25 May 2005 21:08:36 +0000 (21:08 +0000)
commit331610b2e7589a41bfe1b33e39beb90db57b3b4d
tree532aebf60b3236a634cc60f44146ac49471a7a29
parentbbb83a1c2fff03b46636a1b6c0fff9580feec1ba
Change the multilog code to toggle between async and sync writes for all
log types.  This means the threaded_syslog type is no longer valid.  A new
fxn multilog_async is available to toggle between the two modes.  If an
app is compiled without pthreads and tries to use async logging, no logging
will occur while async is enabled.

dmeventd has been modified to use the new code

I'm not positive I like the way the async_logger code calls the log fxn,
but it works for now.  Suggestions for other ways to do it would be helpful
dmeventd/dmeventd.c
lib/event/dmeventd.c
multilog/.exported_symbols
multilog/async/Makefile.in
multilog/async/async_logger.c
multilog/async/async_logger.h
multilog/libmultilog.c
multilog/libmultilog.h
multilog/tests/test-multilog.c
This page took 0.026765 seconds and 5 git commands to generate.