>> I've got an application that uses Pthread to do threading. Mostly Im
>> using
[quoted text clipped - 25 lines]
>
> which I believe has support for Posix Threads.
Thanks for the suggestions.
I tried SFU a few months ago and I had two problems with it: (1) im using
Standard Vis C++, and I think it required me to buy the more expensive
edition; and (2) it was _huge_.
I'm looking for just a little wrapper around the native Windows thread
library that emulates the pthread Condition Variable functions.
I've read the Pthread (for Windows) source code, and it is rather elaborate
... I was hoping someone has created a stripped-down, simple wrapper that
does condition variables.
> >> I've got an application that uses Pthread to do threading. Mostly Im
> >> using
[quoted text clipped - 31 lines]
>
> -cd
William DePalo [MVP VC++] - 02 Jun 2005 05:19 GMT
> Thanks for the suggestions.
You are welcome.
> I tried SFU a few months ago and I had two problems with it: (1) im
> using
> Standard Vis C++, and I think it required me to buy the more expensive
> edition;
Well, I don't know if that is true but if you post information on whatever
it was that you could not do with the standard edition, someone will likely
be able to confirm that or explain why it is not so.
> and (2) it was _huge_.
Well, Windows ain't 'Nix. :-)
Regards,
Will
William DePalo [MVP VC++] - 02 Jun 2005 05:57 GMT
> I've read the Pthread (for Windows) source code, and it is rather
> elaborate
> ... I was hoping someone has created a stripped-down, simple wrapper that
> does condition variables.
Underlying that wish is the assumption that the wrapper ought to be simple.
At this link you'll find a paper on synthesizing condition variables under
Win32:
http://www.cs.wustl.edu/~schmidt/win32-cv-1.html
It contains this line
<quote>
This article illustrates why developing condition variables on Win32
platforms is tricky and error-prone
</quote>
Were I you in your shoes, I might be tempted to use what the author has to
offer here:
http://www.cs.wustl.edu/~schmidt/ACE.html
if the licensing terms (which I did not research) are acceptable, regardless
of perceived lack of simplicity. Just my opinion, YMMV.
Regards.
Will
> And which appear to be free.
>
> http://www.microsoft.com/windowsserversystem/sfu/downloads/default.mspx
Who woulda thunk that! :-)
Regards,
Will