Skip to content

Commit

Permalink
fixing deadlock in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan511 committed Feb 8, 2024
1 parent 176937c commit 8e19bfe
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
int main()
{
hpx::synchronization::range_mutex rm;
hpx::synchronization::range_unique_lock<hpx::synchronization::range_mutex>
lg(rm, 1, 2);
{
hpx::synchronization::range_unique_lock<
hpx::synchronization::range_mutex>
lg(rm, 1, 2);
}
hpx::ranged_lock::test::util::test_lock_n_times<
hpx::synchronization::range_mutex>(
10, 1'00'000, 4, 100,
Expand Down

0 comments on commit 8e19bfe

Please sign in to comment.