summaryrefslogtreecommitdiff
path: root/Rx/v2/examples/doxygen/main.cpp
blob: 4da59c5a72b22b7896d259d6595144a8c18353a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define CATCH_CONFIG_MAIN
#include "catch.hpp"

#include <iostream>
#include <thread>
#include <string>

#include "main.hpp"

std::string get_pid() {
    std::stringstream s;
    s << std::this_thread::get_id();
    return s.str();
}