[vorbis-dev] Re: Possible fix for bug #14 (ogg123 -b memory leak)

Christian Weisgerber naddy at mips.inka.de
Fri May 18 10:29:16 PDT 2001



Kenneth Arnold <ken at arnoldnet.net> wrote:

> > (Can non-preemptive threads even be used for what you have in mind?)
> Nope;

Which raises the question whether preemptive scheduling is actually
a requirement for POSIX threads. <Sigh> Anybody want to recommend
a good reference on pthreads?

> So what _do_ you use for threads on BSD?

Native pthreads, or optionally one of various third party thread
packages depending on flavor/platform (GNU Pth, LinuxThreads port,
etc).

> And clone(2), though complex, doesn't seem overly compex that
> BSD couldn't provide a suitable replacement for most of its uses
> from pthreads...

clone() isn't the problem, the userland thread package is.  Also,
discussions how to improve the BSD base system are a tad off topic
here.

FWIW, it would be nice if some other people != Linux/i386 had some
opinions on the topic.

I'm not saying I'm against threads.
I'm not saying it won't work.
But what are you prepared to do when I report that it dumps core?


-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list