Skip to content

Conversation

jbaldwin
Copy link
Owner

@jbaldwin jbaldwin commented Sep 9, 2025

  • Previously this function wasn't static and would need to be called with the templated max_value, which isn't very useful.
  • Users can now call as semaphore<64> s{32}; s.max(); to retreive the max value.

Closes #383

@jbaldwin jbaldwin self-assigned this Sep 9, 2025
* Previously this function wasn't static and would need to be called
  with the templated max_value, which isn't very useful.
* Users can now call as semaphore<64> s{32}; s.max(); to retreive the
  max value.

Closes #383
@jbaldwin jbaldwin force-pushed the issue-383/semaphore-static-max branch from f13e25f to 775afba Compare September 9, 2025 04:54
@jbaldwin jbaldwin merged commit 6b5ee6c into main Sep 9, 2025
49 checks passed
@jbaldwin jbaldwin deleted the issue-383/semaphore-static-max branch September 9, 2025 12:16
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.

semaphore with runtime- (rather than compile-time) max size
1 participant