Hi Wei,

| synchronizing access...
Very good observation. I to did not occur to me. I was thinking more along
the lines of LCGs so you could reproduce results from one run to the next
during debugging.

Jeff



On 12/29/06, Wei Dai <[EMAIL PROTECTED]> wrote:


Jeffrey Walton wrote:
> A GlobalPRNG should be fine. Unless of course design requirements
> dictate each thread receive it's own PRNG, etc.

I suggest one instance per thread so you don't have to worry about
synchronizing access to it. One instance per use is fine also if that
is more convenient. The extra system overhead is probably unnoticeable
in most situations.


>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Crypto++ 
Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to