blob: 8a831f2eb75249e4ff903949322fe4f2fa996cb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <iostream>
#include <thread>
#include <string>
std::string get_pid() {
std::stringstream s;
s << std::this_thread::get_id();
return s.str();
}
|