Skip to content

Conversation

@RA-Kooi
Copy link
Contributor

@RA-Kooi RA-Kooi commented Mar 3, 2020

In this PR I made MinGW-w64 compilers work again with EAThread.
I opted for using pthreads, as those are native to MinGW-w64 and GCC has no support for SEH intrinsics, such as __try and __catch.

I tested this with GCC, Clang, MSVC, and Clang-CL, but I can't remember if I tested it on Linux.

If possible I'd like to extend EAThread to be numa-aware somewhere in the future, so that MinGW users can make use of all threads on new high core count CPUs. I'm assuming the MSVC side is already numa aware.

As usual, let me know if there are any issues with the PR :)

@RA-Kooi
Copy link
Contributor Author

RA-Kooi commented Mar 17, 2020

Fixed the compiler error on Apple Clang, all tests are looking to pass.
Please review, @rparolin

RA-Kooi added 2 commits March 17, 2020 14:43
Use pthreads instead of the win32 threads implementation, as SEH
exceptions are poorly supported.
@RA-Kooi
Copy link
Contributor Author

RA-Kooi commented May 19, 2020

@rparolin This hasn't seen activity in almost 2 months. Could you take a look at it, or close the request if you don't intend to merge it? Thanks!

@RA-Kooi
Copy link
Contributor Author

RA-Kooi commented Oct 15, 2022

@grojo-ea I noticed you have been merging code into EASTL, I would appreciate it if you could take a look at this.

SteveRussell33 added a commit to SteveRussell33/EAThread_SR that referenced this pull request Aug 30, 2025
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