Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

AaronRobinsonMSFT
Copy link
Member

No description provided.

FCIMPL1(FC_BOOL_RET, ThreadNative::GetIsBackground, ThreadBaseObject* pThisUNSAFE)
{
FCALL_CONTRACT;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(for future PRs)

We will need to get rid of the FCThrowRes too. I think the best way to do it - without regressing performance - is to duplicate some of the state bits on the managed thread object, so that the IsDead check can be done in C#.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jkotas jkotas merged commit cd7e4ca into dotnet:main Jan 16, 2024
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the remove_helper_frames branch January 16, 2024 14:23
tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
* Remove FCall in interop code

* Convert DisableComObjectEagerCleanup to QCall.

* Convert the following to QCalls.
Thread.SleepWorker
Thread.GetIsBackground
Thread.SetIsBackground
Thread.Interrupt

* Feedback
@github-actions github-actions bot locked and limited conversation to collaborators Feb 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants