Skip to content

v3.0.0

Compare
Choose a tag to compare
@benny-edlund benny-edlund released this 03 Feb 01:15
· 11 commits to main since this release
cf0740d

Task Pool v3.0

After spending some time writing example applications for the project and using a few allocator implementation it became apparent that although appealing passing merely the allocator template to task_pool started causing problems with rebinding of allocators that take many template parameters. The code is easier to maintain if a fully specified allocator type is passed to the taskpool.

As this is a change to the definition of the task_pool template this becomes a major version change however all code using v2.0 that does not declare use of custom allocators should be source compatible.

What's Changed

  • Changed definition of be::task_pool_t to require a fully specified template type
  • Changed declaration of the type alias be::task_pool to be::task_pool_t<std::allocator<void>>
  • Fixed bug that prevented use of member function pointer with lazy arguments
  • Fixed bugs in rebinding allocators
  • Added ability to detach pipelines using be::detatch as the last pipeline step
  • Added example programs

Full Changelog: v2.0.0...v3.0.0