xtd 0.2.0
Loading...
Searching...
No Matches

◆ abandoned_mutex_exception_

#define abandoned_mutex_exception_ (   ...)

#include <xtd.core/include/xtd/threading/abandoned_mutex_exception.h>

Helper on xtd::abandoned_mutex_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::abandoned_mutex_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw abandoned_mutex_exception_(); // same as : throw abandoned_mutex_exception {csf_};
if (invalid_value) throw abandoned_mutex_exception_("Bad value"); // same as : throw abandoned_mutex_exception {"Bad value", csf_};
...
}
#define abandoned_mutex_exception_(...)
Helper on xtd::abandoned_mutex_exception to call it with current stack frame information.
Definition abandoned_mutex_exception.h:109