[vorbis-dev] Threads and vorbis (was: Parallelism)

Monty xiphmont at xiph.org
Fri Aug 18 16:40:28 PDT 2000



> On Fri, 18 Aug 2000, Jeff Squyres wrote:
> 
> > There is also nothing that says that you can't mix threads and MPI -- use
> > threads for on-machine parallelism, and MPI for off-machine parallelism
> 
> Speaking of which -- is libvorbis reentrant/thread safe (assuming mutually
> exclusive arguments to function calls, etc., etc.)?

Yes, assuming mutually exclusive argument structs.  In decode, some structs 
point to data in parent structs (eg, an ogg_page points to buffers in the 
ogg_sync struct it's pulled from), but there shouldn't be any such 
dependencies encode side.  Encode side, everything is clean copied.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list