[LAD] random curiosity

Erik de Castro Lopo mle+la at mega-nerd.com
Mon Jan 25 08:22:11 UTC 2010


cal wrote:

> In considering a rand() -> random() -> random_r() transition, is the random_r()
> family considered "cool for school"? Or are they simply not worth the bother
> given the srandom_r() segfault (easily resolved) and a "non-standard glibc
> extensions" tag.

You didn't say what you're using the random numbers for. Even crappy old rand()
would possibly be ok for some applications and completely useless for others.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Linux-audio-dev mailing list