| I also think it is a good idea. AFAIK, the pthread implementation
on Windows is a bit like a wrapper to native threads, so I guess there
is no penalty there. I have used it in the past and it all seemed to work
fine for me.
Victor
----- Original Message -----
From: "Steven Yi"
To: "Michael Gogins" ; "Developer discussions"
Sent: Monday, May 26, 2008 10:48 PM
Subject: Re: [Cs-dev] Multi-threading
> Hi Michael,
>
> I have no objections but I also am not familiar with what overhead, if
> any, there would be to use pthreads on Windows versus the native
> Windows system calls. I do agree it would simplify development if we
> stuck to one threading system on all operations systems. Maybe we
> should plan to use pthreads on Windows now and we should just check if
> any performance issues arise from it.
>
> BTW: I'm in the middle of moving across town here in Berkeley and have
> not been doing much devleopment work or music work the past month or
> so due to complications with the current apartment, but am planning to
> get back to working on both Csound and blue after the move
> tonight/tomorrow. So I am very glad to hear that you are pursuing the
> Windows pthreads and will hopefully join your effort for parallel
> csound shortly!
>
> Thanks very much Michael!
> steven
>
>
> On Mon, May 26, 2008 at 1:13 PM, Michael Gogins
> wrote:
>> This is regarding Steven Yi's preliminary implementation of
>> multi-threading multiple instances of instrument templates in Csound.
>> This currently uses pthreads. Right now, threading on Windows for Csound
>> uses native Windows threads. It would simplify completion of
>> multi-threading if Csound on Windows also uses pthreads (there are freely
>> available LGPL pthreads libraries for Windows which in fact are already
>> being used for other purposes in Windows Csound).
>>
>> If there are no objections, I will change all threading in Windows Csound
>> from native Windows system calls to pthreads. That should enable
>> evaluation, testing, and perhaps even use of the multi-threaded
>> instrument templates in Windows Csound.
>>
>> This also would slightly simplify the maintenance of Csound.
>>
>> Regards,
>> Mike
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |