obtainMessageBuffer overloads

Synopses

Declared in <ball_log.h>

Return a managed pointer to this thread's message‐formatting buffer.

static
bslma::ManagedPtr<char>
obtainMessageBuffer(int* bufferSize);

Obtain exclusive access to this thread's message‐formatting buffer.

static
char*
obtainMessageBuffer(
    bslmt::Mutex** mutex,
    int* bufferSize);

Return Value

  • managed pointer to this thread's exclusive message buffer

  • address of this thread's exclusive message‐formatting buffer

Parameters

Name

Description

bufferSize

address at which to store the buffer size in bytes

mutex

address at which to store the buffer‐guarding mutex

Created with MrDocs