[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/WebAssembly/binaryen/waitqueue-api/test/example/cpp-unit.cpp [Back]  [Original]

// test multiple uses of the threadPool

#include 

#include 
#include 
#include 
#include 
#include 
#include 

using namespace wasm;
using namespace Bits;

#define RESET "\x1b[0m"

#define FG_BLACK "\x1b[30m"
#define FG_RED "\x1b[31m"
#define FG_GREEN "\x1b[32m"
#define FG_YELLOW "\x1b[33m"

#define BG_BLACK "\x1b[40m"
#define BG_RED "\x1b[41m"

static int failsCount = 0;

template
void assert_equal_(T a, U b, int line, const char* file) {
  if (a != b) {
    std::cerr 

Web Proxy Viewer  |  New URL  |  Original Page