Re: [LAD] [ANN] jack_capture V0.9.19, Snd-ls V0.9.8.17 and Rollendurcmesserzeitsammler V0.0.4

From: Kjetil S. Matheussen <k.s.matheussen@email-addr-hidden>
Date: Mon Jul 07 2008 - 14:04:35 EEST

On Mon, 7 Jul 2008, Pieter Palmers wrote:

> Kjetil S. Matheussen wrote:
> ...
>> *Manually clear allocated memory instead of using calloc.
> What is the advantage in doing that? (/me sees an opportunity to learn)
>

You are not the first one to ask. :-)
I doubt it makes any difference, but it was faster to change
jack_capture than checking various implementations of calloc.
The background is that according to wikipedia,
calloc may be created by using copy-on-write
(http://en.wikipedia.org/wiki/Copy-on-write), which would
be harmful when running realtime.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Mon Jul 7 16:15:02 2008

This archive was generated by hypermail 2.1.8 : Mon Jul 07 2008 - 16:15:02 EEST