Enable output to the specified STREAM that will not be interleaved with output from bslmt_testutil macros done by other threads.
Synopsis
Declared in <bslmt_testutil.h>
#define BSLMT_TESTUTIL_GUARDED_STREAM(STREAM)
Description
STREAM is expected to be a bsl::ostream object, and this macro call can be output to with the C++ << operator with all output until the terminating ; occurring as one non‐interleaved block.
Parameters
Name |
Description |
STREAM |
output stream that receives guarded writes |
Created with MrDocs