EAThread icon indicating copy to clipboard operation
EAThread copied to clipboard

MinGW-w64 fixes

Open RA-Kooi opened this issue 5 years ago • 3 comments

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 avatar Mar 03 '20 23:03 RA-Kooi

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

RA-Kooi avatar Mar 17 '20 13:03 RA-Kooi

@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 avatar May 19 '20 22:05 RA-Kooi

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

RA-Kooi avatar Oct 15 '22 13:10 RA-Kooi