Re: [LAD] random curiosity

From: Erik de Castro Lopo <mle+la@email-addr-hidden-nerd.com>
Date: Mon Jan 25 2010 - 10:22:11 EET

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/
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Jan 25 20:15:06 2010

This archive was generated by hypermail 2.1.8 : Mon Jan 25 2010 - 20:15:06 EET