generated from cpp-best-practices/gui_starter_template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding pipe operator * API simplified with reduced overload set for deferred tasks. We no longer need to pass allocators when submitting tasks but instead bind a allocator type to the pool itself. * Removed non portable includes * Fixed calls to comparitors for windows * API updated renaming task_pool.h to simply pool.h * Adding noexcept where suitable * Adding future api to task_pool * Fixed bug not incrementing the wait list * Improving coverage * removed old header * tewaking test for msvc in ci * Trait fixes for msvc
- Loading branch information
1 parent
e01586d
commit 74f0f09
Showing
12 changed files
with
2,781 additions
and
3,638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# v2.0 | ||
Refined version reducing overload set by binding allocator to the pool itself and adding pipe operator and future api for function composition | ||
|
||
- [x] Remove allocator variants of task_pool::submit in favour of templating the task bool so that we do not need to pass allocators all the time. | ||
- [x] Change external API wait_for_tasks to wait() | ||
- [x] Pools should be future-like | ||
- [x] Dropping support for callables with templated call operators | ||
- [x] Reduced overload set of `submit` and `make_deferred_task` | ||
- [x] Allow pipeline tasks to take allocators and stop_tokens | ||
- [x] Changed `task_pool.h` to simply `pool.h` | ||
- [x] API is now const and noexcept correct ( to the best of my mortal abilities ) | ||
# v1.0 | ||
Initial version supporting full set of features | ||
|
||
- [x] Allow tasks from function pointers, free and member | ||
- [x] Allow cancelling tasks after started by passing token type | ||
- [x] Allow using custom allocators to allocate future states | ||
- [x] Allow using custom allocators to allocate tasks storage | ||
- [x] Allow using custom allocators inside tasks perform allocations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.