BloombergLP::ball::AsyncFileObserver::startPublicationThread

Start a publication thread to asynchronously publish log records from the record queue. If a publication thread is already active, this operation has no effect. Return 0 on success, and a non-zero value if there is an error creating the publication thread. Note that log records received by the publish method may have accumulated on the queue before the publication thread is started.

Synopsis

Declared in <ball_asyncfileobserver.h>

int
startPublicationThread();