Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using delegate instead fixed function #31

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
96bff36
Spin lock replaced/affinity support added
yvoinov Sep 22, 2018
bf22a2d
Replaced post-increment in affinity code
yvoinov Sep 22, 2018
2505074
Make affinity controllable by boolean flag
yvoinov Oct 5, 2018
ececd82
Polishing affinity code
yvoinov Oct 6, 2018
797e84e
Document all additions/changes
yvoinov Oct 13, 2018
aac918b
Update include/thread_pool/thread_pool.hpp
yvoinov Oct 25, 2018
016e33d
Merge branch 'master' of https://github.com/yvoinov/thread-pool-cpp
yvoinov Oct 25, 2018
760cf5b
Update README.md
yvoinov Oct 25, 2018
2215112
Merge branch 'master' of https://github.com/yvoinov/thread-pool-cpp
yvoinov Oct 25, 2018
144a672
Update include/thread_pool/thread_pool.hpp
yvoinov Oct 26, 2018
81a9ca9
Update include/thread_pool/thread_pool.hpp
yvoinov Oct 26, 2018
ed0f67b
Update include/thread_pool/thread_pool.hpp
yvoinov Oct 26, 2018
7d8dae8
Solaris online cores binding fix
yvoinov Nov 6, 2018
bcaa064
Update include/thread_pool/thread_pool.hpp
yvoinov Nov 6, 2018
f00a9e0
Fix job stealing
yvoinov Nov 13, 2018
ce2a969
Update include/thread_pool/worker.hpp
yvoinov Nov 15, 2018
331c6cb
Round Robin Queue Servicing support
yvoinov Nov 16, 2018
9cef520
Update README.md
yvoinov Nov 16, 2018
6846704
Update worker.hpp
yvoinov Dec 7, 2018
1827d66
Merge branch 'thread-pool-cpp-round-robin-stealing' of https://github…
yvoinov Dec 7, 2018
bb78837
Fix functional object size checking in FixedFunction
yvoinov Dec 7, 2018
e9d8206
Memory barriers fixes
yvoinov Dec 7, 2018
ad58ac1
Revert "Memory barriers fixes"
yvoinov Dec 7, 2018
75eeabf
Memory barriers fixes
yvoinov Dec 7, 2018
2e5151b
Revert "Memory barriers fixes"
yvoinov Dec 8, 2018
f204e05
Memory barriers fixes
yvoinov Dec 8, 2018
001fca2
Refactoring
yvoinov Dec 27, 2018
6021e4f
Refactoring
yvoinov Jan 2, 2019
094b044
Partial rollback previous change
yvoinov Jan 5, 2019
27355f5
Spurious wakeup protection
yvoinov Jan 7, 2019
8d15931
Fix race condition
yvoinov Jan 9, 2019
48056ac
Explicit memory order specified instead most strict default
yvoinov Jan 9, 2019
839dfc0
Update worker.hpp
yvoinov Jan 10, 2019
b30d140
Update README.md
yvoinov Jan 15, 2019
c3b81e6
Lost wakeup fixed
yvoinov Jan 15, 2019
17e09aa
Merge branch 'thread-pool-cpp-round-robin-stealing' of https://github…
yvoinov Jan 15, 2019
cdb5f80
Simplifying spurious/lost wakeup protection
yvoinov Jan 16, 2019
9187bdc
Added break sleep when post() occurs before wait()
yvoinov Jan 19, 2019
7bc5828
Revert "Added break sleep when post() occurs before wait()"
yvoinov Jan 19, 2019
cce51c7
Added break sleep when post() occurs before wait()
yvoinov Jan 19, 2019
232bc23
Added Oracle Developer Studio support
yvoinov Feb 24, 2019
8d2e800
Update worker.hpp
yvoinov Mar 4, 2019
ccddb7d
Update worker.hpp
yvoinov Mar 4, 2019
755e658
Update README.md
yvoinov Mar 4, 2019
c4dab34
Logical error in threadFunc() fixed
yvoinov Mar 5, 2019
8edff58
Merge branch 'thread-pool-cpp-round-robin-stealing' of https://github…
yvoinov Mar 5, 2019
1508a1a
Update thread_pool.hpp
yvoinov Mar 9, 2019
dd9a7b1
Update thread_pool.hpp
yvoinov Mar 10, 2019
74745d4
Update worker.hpp
yvoinov Mar 28, 2019
8d7bf79
Update README.md
yvoinov Apr 1, 2019
2f39fab
Update thread_pool.hpp
yvoinov Apr 8, 2019
b1adf7d
Merge branch 'thread-pool-cpp-round-robin-stealing' of https://github…
yvoinov Apr 8, 2019
360dcd9
Update thread_pool.hpp
yvoinov Jul 8, 2019
bc88335
Update worker.hpp
yvoinov Sep 30, 2019
4a7e879
Update mpmc_bounded_queue.hpp
yvoinov Oct 24, 2019
136a472
Fixed C++11 compatibility issue
yvoinov Nov 25, 2019
45ec59b
Code style improvement
yvoinov May 13, 2020
bc66ec5
Update worker.hpp
yvoinov Jun 1, 2020
b9e46a8
Some code styling
yvoinov Jun 1, 2020
7abe87b
Improvements & fixes
yvoinov Jun 2, 2020
14514a4
Update thread_pool.hpp
yvoinov Jun 7, 2020
f4221a2
Update thread_pool.hpp
yvoinov Jun 9, 2020
369d0b9
Update thread_pool.hpp
yvoinov Jun 12, 2020
2f000cc
Usind Ben Diamand's delegate instead FixedFunction
yvoinov Jun 12, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ See benchmark/benchmark.cpp for benchmark code.
All code except [MPMCBoundedQueue](https://github.com/inkooboo/thread-pool-cpp/blob/master/include/thread_pool/mpmc_bounded_queue.hpp)
is under MIT license.

Additions
=========
1. Spin lock replaced to conditional variable. Spurious wakeup protection added.
2. Affinity (by round-robin) added for Linux/Solaris/FreeBSD. Affinity control flag added.
3. Round Robin Queue Servicing from https://github.com/inkooboo/thread-pool-cpp/pull/24 are implemented.
4. Oracle Developer Studio support
5. Sleep counter added.
Loading