Skip to content

Latch, Semaphore, Barrier (part of #52, P1135R6) - #1057

Merged
Casey Carter (CaseyCarter) merged 470 commits into
microsoft:masterfrom
AlexGuteniev:latch
Sep 1, 2020
Merged

Latch, Semaphore, Barrier (part of #52, P1135R6)#1057
Casey Carter (CaseyCarter) merged 470 commits into
microsoft:masterfrom
AlexGuteniev:latch

Conversation

@AlexGuteniev

@AlexGuteniev Alex Guteniev (AlexGuteniev) commented Jul 19, 2020

Copy link
Copy Markdown
Contributor

Resolves #52

Alex Guteniev (AlexGuteniev) and others added 30 commits May 6, 2020 10:18
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
# Conflicts:
#	stl/CMakeLists.txt
#	stl/inc/atomic
#	stl/inc/yvals_core.h
#	tests/libcxx/expected_results.txt
#	tests/libcxx/skipped_tests.txt
#	tests/std/test.lst
# Conflicts:
#	tests/std/test.lst
# Conflicts:
#	stl/inc/atomic
#	stl/src/parallel_algorithms.cpp
…should be directly visible in the places doing them where possible even at the cost of some verbosity.

Move parallel algorithms support to the DLL since it wants to use the wait functions infrastructure.

Change the 'vulcan nerve pinch' __std_atomic_set_api_level to not use VersionHelpers which is not always avaialble for some restricted environments.

Fix a missed _2 rename.
Add the LIBRARY LIBRARYNAME bits that the other satellite DLLs use
Add parallel_algorithms.cpp and atomic_wait.cpp to static libs
Comment thread stl/inc/semaphore Outdated
Comment thread stl/inc/semaphore
Comment thread stl/inc/semaphore
Comment thread tests/std/tests/P1135R6_barrier/test.cpp
Comment thread tests/std/tests/P1135R6_barrier/test.cpp Outdated
Comment thread tests/std/tests/P1135R6_barrier/test.cpp

@BillyONeal Billy O'Neal (BillyONeal) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I found a few nitpicks, and one stealth build break, but otherwise this looks good to me.

Comment thread stl/inc/barrier Outdated
Comment thread stl/inc/barrier Outdated
Comment thread stl/inc/barrier Outdated
Comment thread stl/inc/semaphore Outdated
Comment thread stl/inc/semaphore Outdated
Comment thread stl/inc/semaphore Outdated
Comment thread stl/inc/semaphore Outdated
Comment thread stl/inc/semaphore Outdated
Comment thread tests/std/tests/P1135R6_barrier/test.cpp Outdated
Comment thread tests/std/tests/P1135R6_barrier/test.cpp Outdated
STL review

Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
@CaseyCarter

Copy link
Copy Markdown
Contributor

Thanks for your contribution of the entire C++20 synchronization library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx20 C++20 feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P1135R6 The C++20 Synchronization Library

8 participants