BloombergLP::ball::LoggerManager::obtainMessageBuffer

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

Synopsis

Declared in <ball_loggermanager.h>

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

Description

Return a managed pointer that refers to the memory block to which this thread of execution has exclusive access and load the size (in bytes) of this buffer into the specified bufferSize address. Note that this method is intended for internal use only.

Return Value

managed pointer referring to this thread's exclusive message buffer

Parameters

NameDescription
bufferSizeaddress at which to store the buffer size in bytes