Skip to content

Conversation

@MungoG
Copy link
Contributor

@MungoG MungoG commented Jan 15, 2026

refactoring: thread_pool now inherits from execution_context with executor_type

  • Move thread_pool to ex/ namespace (ex/thread_pool.hpp, ex/thread_pool.cpp)
  • Derive thread_pool from execution_context for service management
  • Add nested executor_type class satisfying capy::executor concept
  • Add coro_handler to wrap any_coro for pool execution
  • Add work counting with atomic counter in impl
  • Add std::optional<task> member to async_run promise_type
  • Disable frame_allocator operator new/delete overloads (VFALCO turned off)
  • Expand thread_pool tests: executor concept, equality, services, concurrent post
  • Update documentation with executor operations and service examples

test: remove frame allocator tests

  • Remove tracking_frame_allocator and allocation count tests from task.cpp
  • Remove counting_frame_allocator and allocation tests from when_all.cpp
  • Remove unused frame_allocator.hpp include from when_all.cpp
  • Tests were failing because custom frame allocator operators are disabled

docs: overhaul documentation structure and remove Asio dependencies

  • Remove standalone concept pages (6 files) - link to generated API reference instead
  • Remove all Asio references, use thread_pool as primary execution context
  • Add new Buffers section with 3 pages (index, sequences, dynamic)
  • Add Cryptography section with BCrypt password hashing documentation
  • Split compression into separate Brotli and ZLib pages
  • Add dedicated thread-pool.adoc to Execution section
  • Update nav.adoc with reorganized structure
  • Revise index.adoc and quick-start.adoc with thread_pool examples
  • Update cross-references throughout to use API reference links

feat: add portable error conditions and tests

  • add portable error condition enum and category in cond header/source
  • document eof portability guidance across read_source and read_stream docs
  • extend tests for cond equivalence and adjust gitignore entries

remove unused member

…or_type

- Move thread_pool to ex/ namespace (ex/thread_pool.hpp, ex/thread_pool.cpp)
- Derive thread_pool from execution_context for service management
- Add nested executor_type class satisfying capy::executor concept
- Add coro_handler to wrap any_coro for pool execution
- Add work counting with atomic counter in impl
- Add std::optional<task<T>> member to async_run promise_type
- Disable frame_allocator operator new/delete overloads (VFALCO turned off)
- Expand thread_pool tests: executor concept, equality, services, concurrent post
- Update documentation with executor operations and service examples

test: remove frame allocator tests

- Remove tracking_frame_allocator and allocation count tests from task.cpp
- Remove counting_frame_allocator and allocation tests from when_all.cpp
- Remove unused frame_allocator.hpp include from when_all.cpp
- Tests were failing because custom frame allocator operators are disabled

docs: overhaul documentation structure and remove Asio dependencies

- Remove standalone concept pages (6 files) - link to generated API reference instead
- Remove all Asio references, use thread_pool as primary execution context
- Add new Buffers section with 3 pages (index, sequences, dynamic)
- Add Cryptography section with BCrypt password hashing documentation
- Split compression into separate Brotli and ZLib pages
- Add dedicated thread-pool.adoc to Execution section
- Update nav.adoc with reorganized structure
- Revise index.adoc and quick-start.adoc with thread_pool examples
- Update cross-references throughout to use API reference links

feat: add portable error conditions and tests

- add portable error condition enum and category in cond header/source
- document eof portability guidance across read_source and read_stream docs
- extend tests for cond equivalence and adjust gitignore entries

remove unused member
@cppalliance-bot
Copy link

cppalliance-bot commented Jan 15, 2026

An automated preview of the documentation is available at https://62.capy.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-01-15 17:13:46 UTC

@MungoG MungoG merged commit 23d8b35 into cppalliance:develop Jan 15, 2026
45 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants