30 Jun
2015
30 Jun
'15
12:10 p.m.
André Hentschel <nerv(a)dawncrow.de> writes:
Where would you see the best point for srand()? __wine_process_init()? Should i do it with a "once" variable? Or would you prefer something like in SystemFunction036 using /dev/urandom (suggested by Bruno)?
Using srand() is not a good idea since it's process-global. Something like RtlRandom is probably better. -- Alexandre Julliard julliard(a)winehq.org