Hello Ruben!

On Thu, Dec 11, 2014 at 2:51 PM, Ruben Van Boxem
<[email protected]> wrote:
> Hi guys,
>
> 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

Would you happen to know how they implement timed mutex waits?
(I haven't looked through the code yet.)

It seems a little difficult to me to implement std::thread on top windows
threads without writing any "real" code.  (I do realize that one can put
arbitrary code into headers, but that sort of defeats the purpose of a
header-only library.)

> Ruben


Thanks for drawing our attention to this.


Best.


K. Frank

------------------------------------------------------------------------------
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

Reply via email to