obtainMessageBuffer overloads

Synopses

Declared in <ball_loggermanager.h>

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

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

Return exclusive access to the static message formatting buffer.

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

Return Value

  • managed pointer referring to this thread's exclusive message buffer

  • address of the modifiable buffer to which this thread has exclusive access

Parameters

Name

Description

bufferSize

address at which to store the buffer size in bytes

mutex

address at which to store the buffer‐protecting mutex

Created with MrDocs