[CELT-dev] Threading issues with CELT?

Timothy B. Terriberry tterribe at email.unc.edu
Tue Mar 9 09:41:37 PST 2010


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.




More information about the celt-dev mailing list