Return the mutex associated with the specified streambuf.

Synopsis

Declared in <bslstl_syncbuf.h>

static
SyncBuf_Mutex*
get(void* streambuf) noexcept;

Description

Return address of a mutex associated the specified streambuf object (address). The behavior is undefined unless streambuf is not null and points to basic_streambuf<...> object.

Return Value

address of the mutex associated with streambuf

Parameters

Name

Description

streambuf

stream buffer whose associated mutex is returned

Created with MrDocs