Skip to content

Commit

Permalink
tweak asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov committed Dec 10, 2024
1 parent 19e5457 commit ce33b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/vm/ceemain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ static void OsAttachThread(void* thread)

if (threadFromCurrentFiber != NULL)
{
_ASSERTE("Multiple threads encountered from a single fiber");
_ASSERTE(!"Multiple threads encountered from a single fiber");
COMPlusThrowWin32();
}

Expand Down Expand Up @@ -1812,7 +1812,7 @@ bool OsDetachThread(void* thread)

if (threadFromCurrentFiber != thread)
{
_ASSERTE("Detaching a thread from the wrong fiber");
_ASSERTE(!"Detaching a thread from the wrong fiber");
COMPlusThrowWin32();
}

Expand Down

0 comments on commit ce33b5b

Please sign in to comment.