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

Synopsis

Declared in <ball_log.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 to this thread's exclusive message buffer

Parameters

Name

Description

bufferSize

address at which to store the buffer size in bytes

Created with MrDocs