Skip to content

rename new queues and update docs#232

Merged
tzcnt merged 5 commits into
mainfrom
rename_queues
May 31, 2026
Merged

rename new queues and update docs#232
tzcnt merged 5 commits into
mainfrom
rename_queues

Conversation

@tzcnt
Copy link
Copy Markdown
Owner

@tzcnt tzcnt commented May 31, 2026

I'm working on the documentation for these queues and have decided that it'll be easier to grok if they have a consistent prefix length. So it's better to make this change sooner rather than later.

Rename all 3 of the recently added queues:

  • qu_unbounded_mpsc -> qu_mpsc_unbounded
  • qu_unbounded_spsc -> qu_spsc_unbounded
  • qu_bounded_spsc -> qu_spsc_bounded

Also renamed:

  • qu_spsc_bounded::post() and post_bulk() to push() and push_bulk() for consistency with channel naming (where push() suspends and post() does not).
  • pull_zc_scope::get() and try_pull_zc_scope::get() to value() to match std::optional's API

Lots of other doc comments cleanups.

@tzcnt tzcnt changed the title rename queues to put consumer/producer arity first rename new queues and update docs May 31, 2026
@tzcnt tzcnt merged commit f68789c into main May 31, 2026
46 checks passed
@tzcnt tzcnt deleted the rename_queues branch May 31, 2026 02:43
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.

1 participant