Skip to content

Commit

Permalink
Fix the definition of RhGetCurrentThunkContext (dotnet#102395)
Browse files Browse the repository at this point in the history
  • Loading branch information
SingleAccretion authored and Ruihan-Yin committed May 30, 2024
1 parent efd5869 commit 3dcdd85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,11 @@ EXTERN_C intptr_t* RhpGetThunkData()
}
#endif //FEATURE_EMULATED_TLS

EXTERN_C intptr_t RhGetCurrentThunkContext()
FCIMPL0(intptr_t, RhGetCurrentThunkContext)
{
return tls_thunkData;
}
FCIMPLEND

// Register the thread with OS to be notified when thread is about to be destroyed
// It fails fast if a different thread was already registered.
Expand Down

0 comments on commit 3dcdd85

Please sign in to comment.