Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread local cleanup #101

Merged
merged 2 commits into from Aug 30, 2022
Merged

Thread local cleanup #101

merged 2 commits into from Aug 30, 2022

Conversation

ghost
Copy link

@ghost ghost commented Aug 28, 2022

As discussed in #80.
Removed the macro THREAD_LOCAL which expanded to __declspec(thread), __thread, or thread_local depending on the compiler. Replaced all instances with thread_local.

From MSDN:

On Windows, thread_local is functionally equivalent to the Microsoft-specific __declspec( thread ) attribute.

@ghost ghost marked this pull request as ready for review August 28, 2022 18:55
@Exzap Exzap merged commit c065d22 into cemu-project:main Aug 30, 2022
@Exzap
Copy link
Member

Exzap commented Aug 30, 2022

LGTM. Thanks

@ghost ghost deleted the thread-local-cleanup branch August 30, 2022 11:01
@ghost ghost mentioned this pull request Sep 2, 2022
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant