[CELT-dev] hreading issues with CELT?

Stéphane Letz letz at grame.fr
Wed Mar 10 01:26:35 PST 2010


> 
> 
> Message: 6
> Date: Tue, 09 Mar 2010 12:41:37 -0500
> From: "Timothy B. Terriberry" <tterribe at email.unc.edu>
> Subject: Re: [CELT-dev] Threading issues with CELT?
> To: celt-dev at xiph.org
> Message-ID: <20100309124137.i33ks3qw0kgo4sgw at kizuka.merseine.nu>
> Content-Type: text/plain;	charset=UTF-8;	DelSp="Yes";	format="flowed"
> 
> St?phane Letz <letz at grame.fr> wrote:
> 
>> It there any threading issues to known when using CELT?
> 
> You cannot safely use the global stack with multiple threads, so one  
> of VAR_ARRAYS or USE_ALLOCA must be defined. The former requires a  
> C99-compliant compiler. The latter requires the POSIX function alloca.  
> If neither is defined, the global stack is used as a fallback, and is  
> likely what is causing your problems.
> 

That was it. Compiling with the right options solved the issue.

Thanks a lot.

Stephane Letz



More information about the celt-dev mailing list