> why would we want a queue of random numbers as we need to have a > synchronized random generator (remember syncrand)
Oh, I didn't mean /dev/(u)random. I thought that we could compute random numbers when we need them or when cpu load is low and store them in a queue of n numbers until they are needed. Most of our code (as far as I know) depends on user interaction. Uniform randon numbers (without or prior to transformation) fulfil stream concept. Ok, this is independent of threads. In combination with threads we would have to take care that only one process works on the next number on the time. But is it worth the effort. I must measure this sometime. -- Kai Antweiler _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
