| Thanks for your suggestion. I'm thinking.
Regards,
Mike
-----Original Message-----
>From: Felipe Sateler
>Sent: Jun 4, 2008 2:28 PM
>To: Developer discussions
>Subject: Re: [Cs-dev] An oddity
>
>On Wednesday 04 June 2008 08:37:08 Michael Gogins wrote:
>> That is what it is supposed to do.
>>
>> I had to change the Csound threading API because on Windows, pthread_t is a
>> struct but we have defined the API as returning a pointer.
>>
>> I suppose pthread_t pthread could be static pthread_t pthread, but
>> otherwise please do not change this unless you can come up with a solution
>> that will work on Windows as well as on the other platforms.
>
>Perhaps do as in CreateThread and malloc it? Then document that the user must
>free the pointer.
>
>Presumably, the only use of csoundGetCurrentThreadId is to pass it to
>csoundJoinThread, so perhaps it could free it?
>
>--
>Felipe Sateler
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |