Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Divyanshu9151 authored Oct 2, 2020
1 parent 99ae49b commit 6056955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

# Introduction

A [thread pool](https://en.wikipedia.org/wiki/Thread_pool) is a technique that allows developers to exploit the concurrency of modern processors in an **easy** and **efficient** manner. It's easy because you send "work" to the pool and somehow this work gets done without blocking the main thread. It's efficient because threads are not initialized each time we want work to be done. Threads are initialized once and remain inactive until some work has to be done. This way we minimize the overhead.
A [thread pool](https://en.wikipedia.org/wiki/Thread_pool) is a technique that allows developers to exploit the concurrency of modern processors in an **easy** and **efficient** manner. It's easy because you send "work" to the pool and somehow this work gets done without blocking the main thread. It's efficient because threads are not initialized each time we want the work to be done. Threads are initialized once and remain inactive until some work has to be done. This way we minimize the overhead.

There are many many Thread pool implementations in C++, many of them are probably better (safer, faster...) than mine. However, I believe my implementation is **very straightforward and easy to understand**.
There are many more Thread pool implementations in C++, many of them are probably better (safer, faster...) than mine. However,I believe my implementation are **very straightforward and easy to understand**.

__Disclaimer: Do not use this project in a professional environment. It may contain bugs and/or not work as expected.__ I did this project to learn how C++11 Threads work and provide an easy way for other people to understand it too.

Expand All @@ -34,7 +34,7 @@ cmake .. "Visual Studio 15 2017 Win64"

Then, from VS you can edit and execute the project. Make sure that __main project is set up as the startup project__

If you are using Linux, you need to change the generator (use the default) and execute an extra operation to actually make the executable:
If you are using Linux, you need to change the generator (use the default) and execute an extra operations to actually make executable:

```c
// Linux
Expand Down

0 comments on commit 6056955

Please sign in to comment.