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

Kjetil S. Matheussen k.s.matheussen at notam02.no
Mon Jul 7 11:04:35 UTC 2008

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.

More information about the Linux-audio-dev mailing list