Skip to content

Commit

Permalink
tweak comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov committed May 29, 2024
1 parent b51e0ec commit 051c2d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/nativeaot/Runtime/EHHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ int32_t __stdcall RhpVectoredExceptionHandler(PEXCEPTION_POINTERS pExPtrs)
Thread * pThread = ThreadStore::GetCurrentThreadIfAvailable();
if (pThread == NULL || !pThread->IsCurrentThreadInCooperativeMode())
{
// if we are not in coop mode or the thread is not hijacked, this cannot be our hijack
// if we are not in coop mode, this cannot be our hijack
// Perhaps some other runtime is responsible.
return EXCEPTION_CONTINUE_SEARCH;
}
Expand Down
4 changes: 2 additions & 2 deletions src/coreclr/vm/excep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6769,8 +6769,8 @@ VEH_ACTION WINAPI CLRVectoredExceptionHandler(PEXCEPTION_POINTERS pExceptionInfo
{
if (pThread == NULL || !pThread->PreemptiveGCDisabled())
{
// If we are not in coop mode or the thread is not hijacked, this cannot be our hijack.
// Perhaps someone else is trying to hijack us.
// if we are not in coop mode, this cannot be our hijack
// Perhaps some other runtime is responsible.
return VEH_CONTINUE_SEARCH;
}

Expand Down

0 comments on commit 051c2d7

Please sign in to comment.