forked from CodingHanYa/workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hipe.h
27 lines (22 loc) · 942 Bytes
/
hipe.h
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
#pragma once
// ========================================
// Please forgive my poor english
// ========================================
/**
* @brief A steady thread pond
* It is a steady thread pond that has constant count of threads and is suitable for stable task volume and light task.
* It also support task stealing, batch submission, batch execution, thread load balancing.
*/
#include "./steady_pond.h"
/**
* @brief A dynamic thread pond.
* It is a dynamic thread pond that allows expanding the pond with some threads or delete some threads from the pond.
* To help you know when and how to motify the pond, it provided interfaces to monitor the speed of task digestion.
*/
#include "./dynamic_pond.h"
/**
* @brief A balanced thread pond
* It is a balanced thread pond has outstanding performance and support task stealing, batch submission, batch
* execution, thread load balancing.
*/
#include "./balanced_pond.h"