Skip to content

Commit

Permalink
removed RWLock (#81058)
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov authored Jan 24, 2023
1 parent 96d492a commit 50f9bcc
Show file tree
Hide file tree
Showing 29 changed files with 12 additions and 375 deletions.
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/AsmOffsetsVerify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "thread.h"
#include "TargetPtrs.h"
#include "rhbinder.h"
#include "RWLock.h"
#include "RuntimeInstance.h"
#include "CachedInterfaceDispatch.h"
#include "shash.h"
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(COMMON_RUNTIME_SOURCES
RestrictedCallouts.cpp
RhConfig.cpp
RuntimeInstance.cpp
RWLock.cpp
StackFrameIterator.cpp
startup.cpp
stressLog.cpp
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/CachedInterfaceDispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "ObjectLayout.h"
#include "gcrhinterface.h"
#include "shash.h"
#include "RWLock.h"
#include "TypeManager.h"
#include "RuntimeInstance.h"
#include "MethodTable.inl"
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/EHHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "slist.h"
#include "gcrhinterface.h"
#include "shash.h"
#include "RWLock.h"
#include "TypeManager.h"
#include "varint.h"
#include "PalRedhawkCommon.h"
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/FinalizerHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include "slist.h"
#include "gcrhinterface.h"
#include "RWLock.h"
#include "RuntimeInstance.h"
#include "shash.h"

Expand Down
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/GCHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "interoplibinterface.h"

#include "thread.h"
#include "RWLock.h"
#include "threadstore.h"
#include "threadstore.inl"
#include "thread.inl"
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/GcStressControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "StackFrameIterator.h"
#include "thread.h"
#include "event.h"
#include "RWLock.h"
#include "threadstore.h"
#include "threadstore.inl"
#include "shash.h"
Expand Down
3 changes: 0 additions & 3 deletions src/coreclr/nativeaot/Runtime/MiscHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "holder.h"
#include "Crst.h"
#include "rhbinder.h"
#include "RWLock.h"
#include "RuntimeInstance.h"
#include "regdisplay.h"
#include "gcrhinterface.h"
Expand Down Expand Up @@ -99,8 +98,6 @@ COOP_PINVOKE_HELPER(uint32_t, RhGetLoadedOSModules, (Array * pResultArray))

uint32_t cModules = 0;

ReaderWriterLock::ReadHolder read(&GetRuntimeInstance()->GetTypeManagerLock());

RuntimeInstance::OsModuleList *osModules = GetRuntimeInstance()->GetOsModuleList();

for (RuntimeInstance::OsModuleList::Iterator iter = osModules->Begin(); iter != osModules->End(); iter++)
Expand Down
267 changes: 0 additions & 267 deletions src/coreclr/nativeaot/Runtime/RWLock.cpp

This file was deleted.

58 changes: 0 additions & 58 deletions src/coreclr/nativeaot/Runtime/RWLock.h

This file was deleted.

Loading

0 comments on commit 50f9bcc

Please sign in to comment.