Hello Jaroslav - On Tue, Aug 31, 2010 at 5:50 AM, Jaroslav Šmíd <[email protected]> wrote: > Here is Windows API, that almost matches that on POSIX platforms: > http://msdn.microsoft.com/en-us/library/ms682052(VS.85).aspx
Thanks you: I didn't know that windows offered condition variables. On the web page you gave the link for it says: Windows Server 2003 and Windows XP/2000: Condition variables are not supported. Does this mean that windows condition variables are new as of vista and windows 7? As a practical matter, which versions of windows do we sort of expect mingw64 to support? Would implementing std::thread only for vista and later be considered Good Enough? (Yes, something is better than nothing, but there is also such a thing as too little.) It's also probably the case that using the new windows condition variables would give a better, more efficient implementation than reimplementing condition variables using the non-condition-variable part of windows threads. By the way, does anyone know why windows now offers condition variables? Do you think they are anticipating c++0x in particular, or is it just the ongoing evolution and maturation of windows? Thanks. K. Frank > On 31.8.2010 7:28, NightStrike wrote: >> On Thu, Aug 26, 2010 at 7:18 AM, Kai Tietz<[email protected]> wrote: >>> 2010/8/26 Ruben Van Boxem<[email protected]>: >>>> >>>> As I said, *time_t is easy, but *cond_t seems like a big problem, because >>>> the whole concept of threading is different and there's far from a 1-on-1 >>>> mapping of *cond_t to win32 API. Once we have that struct though, it should >>>> be quite straightforward to get the functions implemented. The gthr-win32.h >>>> header is located in >>>> ... ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
