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.
Showing
11 changed files
with
157 additions
and
44 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 |
---|---|---|
@@ -1,19 +1,29 @@ | ||
# v3.0 | ||
Refined api after trials with various of allocator implementations. | ||
|
||
* Require fully specified allocator type for pool definition. | ||
* Allowing the pool to be defined using only the allocator template was convinient however ultimately unhelpful when rebinding allocators that require many template arguments. This required a interface change to the pool class and hence bumps the major version but there are no interface changes other then this so v2.0 code will be source compatible. | ||
* Corrected detection of member function pointers used as task with lazy arguments. | ||
* This was a blind spot in the test suite | ||
* Allowing pipelines to be explicitly detatched | ||
* Added some example applications | ||
|
||
# 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 ) | ||
* 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. | ||
* Change external API wait_for_tasks to wait() | ||
* Pools should be future-like | ||
* Dropping support for callables with templated call operators | ||
* Reduced overload set of `submit` and `make_deferred_task` | ||
* Allow pipeline tasks to take allocators and stop_tokens | ||
* Changed `task_pool.h` to simply `pool.h` | ||
* 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 | ||
* Allow tasks from function pointers, free and member | ||
* Allow cancelling tasks after started by passing token type | ||
* Allow using custom allocators to allocate future states | ||
* Allow using custom allocators to allocate tasks storage | ||
* 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
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
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
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
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
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
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
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
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
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