cameron314 / cameron314/concurrentqueue

Portable (w/ c++20) version of lightweightsemaphore

Open
#449 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.5k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I created a small wrapper around std::counting_semaphore to use instead of the OS - dependent variants.
The main advantage (besides os-independence) is that it greatly speeds up creation of blocking queues in windows by avoiding the creation calls for OS synchronization.

https://github.com/aachrisg/concurrentqueue/commit/3c273f5bcee628db3f564399aa2713ebcfa81489

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked commit and comparing its std::counting_semaphore wrapper with the repository's existing OS-dependent semaphore variants. Determine how the portable implementation should be integrated while preserving C++11 support, then verify that blocking queues can use it without platform-specific synchronization creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.