Skip to content

Commit

Permalink
Fix the definition of RhGetCurrentThunkContext (#102395)
Browse files Browse the repository at this point in the history
  • Loading branch information
SingleAccretion committed May 18, 2024
1 parent af11dbc commit 0d8c6b7
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 0d8c6b7

Please sign in to comment.