On Fri, 2011-09-16 at 13:22 +0200, Csaba Halász wrote:
> On Fri, Sep 16, 2011 at 10:35 AM, Andreas Gaeb <a.g...@web.de> wrote:
> >
> > However, the sg_srandom_time_10() function also looks appealing. That
> > would give the same random seed for all processes started within the
> > same 10 minute interval, yet also vary every 10 minutes even with the
> > same METAR. Maybe even METAR updates are possible if an update re-seeds
> > from that function.
> 
> Ideally, we want MP to be synchronized too, and also if you restart FG
> on one of the machines it should pick up the same random stream again.

sg_srandom_time_10() divides the time in chunks of 10 minutes, so if
there is a mismatch the first time it will get corrected the next time.

Erik


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to