Branch: refs/heads/master
  Home:   https://github.com/STEllAR-GROUP/hpx
  Commit: 9ddbb1f13c8053a870daad339f169ed5b5ba1b6d
      
https://github.com/STEllAR-GROUP/hpx/commit/9ddbb1f13c8053a870daad339f169ed5b5ba1b6d
  Author: Mikael Simberg <[email protected]>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M libs/core/synchronization/include/hpx/synchronization/barrier.hpp
    M tests/regressions/threads/block_os_threads_1036.cpp

  Log Message:
  -----------
  Fix block_os_threads_1036 test

The started variable may be accessed by the "blocker" threads after it
has gone out of scope, leaving the blocker thread reading garbage from
started and the loop

while (started->load() != 1) continue;

never returning and the test hanging.

This adds a barrier at the end of the test to ensure that no variables
in the "blocker" threads are accessed after they go out of scope from
hpx_main. The rest of the test is meant to use never-suspending
primitives, but at the end of the test we can use a barrier which may
suspend.


  Commit: d3bb77ab079d5c13e048420c02a128cc621d0d01
      
https://github.com/STEllAR-GROUP/hpx/commit/d3bb77ab079d5c13e048420c02a128cc621d0d01
  Author: Mikael Simberg <[email protected]>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M tests/regressions/threads/block_os_threads_1036.cpp

  Log Message:
  -----------
  Use references instead of pointers in block_os_threads_1036 test


  Commit: cabeffbfac8d907d1abb859c132437431aa6763f
      
https://github.com/STEllAR-GROUP/hpx/commit/cabeffbfac8d907d1abb859c132437431aa6763f
  Author: Mikael Simberg <[email protected]>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M libs/core/synchronization/include/hpx/synchronization/barrier.hpp
    M tests/regressions/threads/block_os_threads_1036.cpp

  Log Message:
  -----------
  Merge pull request #5619 from msimberg/fix-block-os-threads-test

Fix block_os_threads_1036 test


Compare: 
https://github.com/STEllAR-GROUP/hpx/compare/15ebb839a195...cabeffbfac8d
_______________________________________________
hpx-commits mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-commits

Reply via email to