Skip to content

Commit

Permalink
Merge pull request #1155 from msimberg/remove-shared-mutex
Browse files Browse the repository at this point in the history
Remove `shared_mutex`
  • Loading branch information
msimberg authored Jun 27, 2024
2 parents 4450229 + 468e6bf commit 7fbad29
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 1,327 deletions.
1 change: 0 additions & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ These headers are part of the public API, but are currently undocumented.
- ``pika/mutex.hpp``
- ``pika/runtime.hpp``
- ``pika/semaphore.hpp``
- ``pika/shared_mutex.hpp``
- ``pika/thread.hpp``

All functionality in a namespace containing ``detail`` and all macros prefixed with ``PIKA_DETAIL``
Expand Down
2 changes: 0 additions & 2 deletions examples/quickstart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ set(example_programs
hello_world
latch_example # suffix added to avoid conflict with unit tests
pipeline1
# shared_mutex # Disabled due to unavailable timed suspension timed_wake # Disabled due to
# unavailable timed suspension
use_main_thread
)

Expand Down
96 changes: 0 additions & 96 deletions examples/quickstart/shared_mutex.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libs/pika/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ set(include_headers
pika/mutex.hpp
pika/runtime.hpp
pika/semaphore.hpp
pika/shared_mutex.hpp
pika/stop_token.hpp
pika/system_error.hpp
pika/thread.hpp
Expand Down
10 changes: 0 additions & 10 deletions libs/pika/include/include/pika/shared_mutex.hpp

This file was deleted.

1 change: 0 additions & 1 deletion libs/pika/synchronization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ set(synchronization_headers
pika/synchronization/no_mutex.hpp
pika/synchronization/once.hpp
pika/synchronization/recursive_mutex.hpp
pika/synchronization/shared_mutex.hpp
pika/synchronization/sliding_semaphore.hpp
pika/synchronization/stop_token.hpp
)
Expand Down
1 change: 0 additions & 1 deletion libs/pika/synchronization/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ the C++ standard ones in |pika| threads:
* :cpp:class:`pika::no_mutex`
* :cpp:class:`pika::once_flag`
* :cpp:class:`pika::recursive_mutex`
* :cpp:class:`pika::shared_mutex`
* :cpp:class:`pika::sliding_semaphore`
* :cpp:class:`pika::detail::spinlock_pool`

Expand Down

This file was deleted.

4 changes: 1 addition & 3 deletions libs/pika/synchronization/tests/regressions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

set(tests ignore_while_locked_1485 shared_mutex_1702)
set(tests ignore_while_locked_1485)

set(shared_mutex_1702_PARAMETERS THREADS 4)
set(shared_mutex_1702_LIBRARIES pika_dependencies_boost)
set(ignore_while_locked_1485_PARAMETERS THREADS 2)

# Create test cases
Expand Down
Loading

0 comments on commit 7fbad29

Please sign in to comment.