[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PFile problems

Christian Reiniger wrote:

> >> The output of ldd pfile_pak was:
> >>         libpthread.so.0 => /lib/libpthread.so.0 (0x4001b000)
> > Can I ask what pthread does in what seems a test program? To test
> > threadsafety of the library?
> No. That thing is statically linked to LibPPlay (so we don't have to
> (re-)install the lib each time / meddle with lib paths etc), so many of
> these dependencies are ones of the lib itself. PSound uses pthreads for
> threadsafety stuff.

Darn, I remember, threaded sound... It uses a thread to play sound,
that's right? Or just for making itself threadsafe?

Pierre Phaneuf