On Sun, Nov 09, 2008 at 06:39:49PM -0500, Christopher Michael wrote:
> > So I get ids like 'modulename.1226243030,874566' and I never get two equal 
> > id.
> > What do you think?
> > 
> Seems more than adequate for randomness.....

Just use a normal random number then. It is not like even rand48() will
be weaker than something based on the current time. rc4 based PRNGs are
~unique by definition. Depending on the resolution of the system timer
it is not impossible to get two programs to start at the same tick.

Joerg

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to