Hi, I'm writing an apache module and need to generate a random number to handle a request. The random numbers must be unique across requests and thus across forks. My problem is coming up with a way to seed the random numbers in an efficient way. I imagine I'll need to use some combination of a timestamp and process/thread id. Perhaps this is already handled by apache or another module? What have other people done? That's it. Thanks in advance. -Matt
- random number generation Matthew Rushton
- Re: random number generation Ruediger Pluem