25 static std::atomic<int> fail_chance(0);
27 if (rand() %
FAIL_MAX <= fail_chance.load()){
33 size = backtrace (array, 10);
34 strings = backtrace_symbols (array, size);
36 for (i = 0; i <
size; i++)
37 std::cout << strings[i] <<
"\n";
#define FAIL_MAX
Definition: fail.hpp:24
int size(COW_AL *cal)
Definition: cow_array_list.c:183
void fail_program()
Definition: fail.hpp:26