Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
z-pc committed May 13, 2022
1 parent e5e57db commit a4647ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The implement for thread pool. This is help for manage threads, tasks so easy and safely.
Required:
- C++ 14 is least
- CMake minimum 3.20 to run example.
- CMake: minimum 3.20 to run examples.

How to add:
Just copy files in `src/*` to your project to using threadpool
Expand All @@ -30,3 +30,6 @@ Wait until workers actually finish.
`pool.wait()`

Is there an easier way for you to use threadpool?

## Options with cmake
Enable `TP_CONSOLE` if you want to show activities of a threadpool in the console.

0 comments on commit a4647ce

Please sign in to comment.