-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.cpp
36 lines (31 loc) · 991 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <condition_variable>
#include <cstdio>
#include <iostream>
#include <map>
#include <thread>
#include <unistd.h>
#include "examples/examples_base64.h"
#include "examples/examples_buffer.h"
#include "examples/examples_event.h"
#include "examples/examples_hash.h"
#include "examples/examples_lock_queue.h"
#include "examples/examples_spinlock.h"
#include "examples/examples_time_queue.h"
#include "examples/examples_util.h"
#include "examples/examples_worker_threads.h"
int main()
{
std::cout << "Hello. Here are the default small cpp utils examples\n\n";
examples::spinlock::Example1();
examples::hash::Example1();
examples::base64::Example1();
examples::util::Example1();
examples::buffer::Example1();
examples::event::Example1();
examples::lock_queue::Example1();
examples::time_queue::Example1();
examples::worker_thread::Example1();
examples::worker_thread::Example2();
examples::worker_thread::Example3_Perf();
return 0;
}