Skip to content

Commit d73fe86

Browse files
authored
Remove BlockMutex (#5521)
BlockMutex never worked reliably in production and has no users in the codebase. With the increasing use of AI-assisted development, we want to proactively remove unreliable synchronization primitives so that generated code does not inadvertently adopt them.
1 parent 6ff3cc0 commit d73fe86

4 files changed

Lines changed: 0 additions & 134 deletions

File tree

Src/Base/AMReX_BlockMutex.H

Lines changed: 0 additions & 89 deletions
This file was deleted.

Src/Base/AMReX_BlockMutex.cpp

Lines changed: 0 additions & 40 deletions
This file was deleted.

Src/Base/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ foreach(D IN LISTS AMReX_SPACEDIM)
1010
AMReX_Algorithm.H
1111
AMReX_Any.H
1212
AMReX_Array.H
13-
AMReX_BlockMutex.H
14-
AMReX_BlockMutex.cpp
1513
AMReX_Enum.H
1614
AMReX_GpuComplex.H
1715
AMReX_Order.H

Src/Base/Make.package

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ C$(AMREX_BASE)_headers += AMReX_GpuComplex.H
2222
C$(AMREX_BASE)_headers += AMReX_PODVector.H
2323
C$(AMREX_BASE)_sources += AMReX_PODVector.cpp
2424

25-
C$(AMREX_BASE)_headers += AMReX_BlockMutex.H
26-
C$(AMREX_BASE)_sources += AMReX_BlockMutex.cpp
27-
2825
C$(AMREX_BASE)_headers += AMReX_Stack.H
2926

3027
C$(AMREX_BASE)_headers += AMReX_String.H

0 commit comments

Comments
 (0)