boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
202 stars 163 forks source link

basic_thread_pool.hpp and MinGW #378

Closed dyfer closed 2 months ago

dyfer commented 1 year ago

Hello,

In SuperCollider we use boost and we use this patch for basic_thread_pool.hpp to make it compile on MinGW. https://github.com/supercollider/supercollider/pull/2473 has more discussion on this issue.

This patch seems to be still needed with Boost 1.80.0 (see pending PR) so I'd like to report it here.

Maybe adding this patch would fix https://github.com/boostorg/thread/issues/291, but I'm not sure.

I hope you find this useful. Unfortunately, I don't have much expertise in this myself, just trying to raise awareness.

dyfer commented 2 months ago

I think this is not an issue in the newer version of mingw/gcc.