BloombergLP::bsls::Review::failBySleep

Hang forever after logging a message for the specified violation.

Synopsis

Declared in <bsls_review.h>

[[noreturn]]
static
void
failBySleep(ReviewViolation const& violation);

Description

Use the specified violation to generate an output message and then, after logging, spin in an infinite loop. Note that this handler function is useful for hanging a process so that a debugger may be attached to it.

Return Value

NOTE

This function does not return.

Parameters

NameDescription
violationdetails of the failed review