Ruben Van Boxem <[email protected]> writes: > I'd like to draw your attention to a std::thread implementation written > without pthreads. > > It seems quite lightweight, and almost too small to be fully compliant. > > If it is at all useful or even completely/nearly bug-free, perhaps it would > be worth getting this into GCC/libstdc++ mainline, because well, it's not > that biig really. Not sure how a win32 specific code dump would pass by > libstdc++ people (they're very, very unfriendly to platform specific code > due to maintenance). > > Anyways, here it is: > https://github.com/meganz/mingw-std-threads
Interesting. It is LGPL'ed. Dunno what that implies for a header-only library, but I guess that you are under the obligation of distributing it along with your executables (by default or upon request) or at least to put a notice mentioning that the executable contains LGPL'ed code. If this is true, it is not acceptable for MinGW(-w64). But maybe the author is willing to change the license if there is enough interest on his work. Having to use the pthreads emulation layer for C++11 compliance is a wart on MinGW-w64's face. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
