Thread overview
Condvar implementation
Dec 04, 2005
Tommie Gannert
Dec 06, 2005
David Friedman
Dec 06, 2005
Tommie Gannert
Dec 06, 2005
David Friedman
December 04, 2005
Hi!

Good news! I have an initial version of the condition variables. However, having it on my computer won't help the rest of you. So, how do you want it for GDC inclusion?

I'll have to do a test compilation on Windows too, but emulating Win32 with pthreads on Linux seems to give both a working and pretty fair solution...

If someone with insight in thread synchronization could take a look at the Windows implementation, I would be grateful. I could post pseudo-code for it.

Also suggest including the pthreads and semaphore D-files in Phobos.


December 06, 2005
Tommie Gannert wrote:
> Hi!
> 
> Good news! I have an initial version of the condition variables. However, having
> it on my computer won't help the rest of you. So, how do you want it for GDC
> inclusion?
> 
> I'll have to do a test compilation on Windows too, but emulating Win32 with
> pthreads on Linux seems to give both a working and pretty fair solution...
> 
> If someone with insight in thread synchronization could take a look at the
> Windows implementation, I would be grateful. I could post pseudo-code for it.
> 
> Also suggest including the pthreads and semaphore D-files in Phobos.
> 
> 

Is this something that can be used with DMD as well?
December 06, 2005
In article <dn2n6c$2kui$1@digitaldaemon.com>, David Friedman says...
>
>
>Is this something that can be used with DMD as well?
Yes.


December 06, 2005
Tommie Gannert wrote:
> In article <dn2n6c$2kui$1@digitaldaemon.com>, David Friedman says...
> 
>>
>>Is this something that can be used with DMD as well?
> 
> Yes.
> 
> 

I can test it out and make any necessary changes for Win32 and MacOS X. If you would like to see it included in DMD, you should probably send it to Walter too.

David