Skip to content

Commit 0d8c6b7

Browse files
Fix the definition of RhGetCurrentThunkContext (dotnet#102395)
1 parent af11dbc commit 0d8c6b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,11 @@ EXTERN_C intptr_t* RhpGetThunkData()
480480
}
481481
#endif //FEATURE_EMULATED_TLS
482482

483-
EXTERN_C intptr_t RhGetCurrentThunkContext()
483+
FCIMPL0(intptr_t, RhGetCurrentThunkContext)
484484
{
485485
return tls_thunkData;
486486
}
487+
FCIMPLEND
487488

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

0 commit comments

Comments
 (0)