Skip to content

Navigation Menu

Sign in
Sign up

fix: expose queue policy as public API - #126

Open
LimiNode wants to merge 4 commits into
main from
code/public-queue-policy
Open

fix: expose queue policy as public API #126
LimiNode wants to merge 4 commits into
main from
code/public-queue-policy

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 7, 2026
edited
Loading

Copy link
Copy Markdown
Owner

Summary

  • remove the unused LOGIT_ENABLE_DROP_OLDEST_SLOWPATH CMake option
  • expose logit::QueuePolicy through the supported <logit.hpp> and <logit/loggers.hpp> umbrella headers
  • use the public alias in logger configuration and constructor signatures
  • keep leaf headers aggregate-first; no standalone QueuePolicy.hpp contract
  • document MPSC DropOldest semantics and the supported header policy

Validation

  • CMake configure/build succeeded on MSVC
  • all 55 tests passed (Debug)

This is intentionally separate from the documentation work in #125 and packaging dependency reuse in #127.

Remove the unused DropOldest slow-path option and publish QueuePolicy through a stable header and logging macros. Add an include-contract test for the public queue policy type.
Keep QueuePolicy owned by the loggers module umbrella and expose it through the unified public entry point. Remove the standalone leaf header and include-contract test so the documented header policy does not promise unsupported direct inclusion.
Verify that the supported logit/loggers.hpp entry point exports the public QueuePolicy alias without requiring a standalone leaf header.
Use the public QueuePolicy alias in logger configuration and constructor signatures while keeping the underlying enum implementation-owned. Clarify the aggregate-first header contract, document MPSC DropOldest semantics, and fix the queue policy example indentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /