cameron314 / cameron314/concurrentqueue
Portable (w/ c++20) version of lightweightsemaphore
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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