Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++20 feature: counting_semaphore and binary_semaphore #69

Open
nmcclatchey opened this issue Feb 29, 2020 · 0 comments
Open

C++20 feature: counting_semaphore and binary_semaphore #69

nmcclatchey opened this issue Feb 29, 2020 · 0 comments

Comments

@nmcclatchey
Copy link
Contributor

Issue tracking implementation of counting_semaphores, introduced in C++20.

See counting_semaphore and binary_semaphore on cppreference.com.

Potential implementations:

  • Semaphore objects in Windows XP and above.
  • WaitOnAddress in Windows 8 and above. Note: Ensuring that Windows has access to the correct address will require using Windows' Compare-Exchange functions on a regular integer, rather than the standard C++ atomics.
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

No branches or pull requests

1 participant