BloombergLP::ball::LoggerManager::obtainMessageBuffer

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);
» more...

Return exclusive access to the static message formatting buffer.

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

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

NameDescription
bufferSizeaddress at which to store the buffer size in bytes
mutexaddress at which to store the buffer-protecting mutex