[vorbis-dev] Re: Possible fix for bug #14 (ogg123 -b memory leak)
Kenneth Arnold
ken at arnoldnet.net
Thu May 17 15:16:19 PDT 2001
On Thu, May 17, 2001 at 02:50:29PM +0000, Christian Weisgerber wrote:
> There's nothing to argue about. I merely pointed out that threads
> are problematical for portability. Although people can always fall
> back on GNU Pth, I guess. (Can non-preemptive threads even be used
> for what you have in mind?)
Nope; I can't force the Vorbis library calls to surrender control in
the middle of processing to get a chunk of audio out to the
device. There has to be two things going on at the same time.
> As I mentioned before, I don't know whether the problems that show
> up are caused by buggy pthreads implementations, or by people
> confusing Linux implementation details with standards, or both.
> Well, we'll see.
So what _do_ you use for threads on BSD? 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...
--
Kenneth Arnold <ken at arnoldnet.net> / kcarnold / Linux user #180115
http://arnoldnet.net/~kcarnold/
<HR NOSHADE>
<UL>
<LI>application/pgp-signature attachment: stored
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/octet-stream
Size: 233 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010517/ec8adc63/part.obj
More information about the Vorbis-dev
mailing list