Set the "emit‐on‐sync" property of the synchronized buffer to the specified value. If "emit‐on‐sync" is true, the synchronized buffer will emit (see emitInternal) its buffered contents on a call to sync (or pubsync); otherwise the synchronized buffer will not be emitted on a sync. The behavior is undefined unless syncBuf is not null.

Synopsis

Declared in <bslstl_syncbufbase.h>

static
void
setEmitOnSync(
    SyncBufBase* syncBuf,
    bool value);

Created with MrDocs