(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.
This commit is contained in:
@@ -51,8 +51,8 @@ protected:
|
||||
public:
|
||||
/* This is a tick where not much else is happening, so a small lag might go unnoticed. */
|
||||
static const uint SPAWN_JOIN_TICK = 21; ///< Tick when jobs are spawned or joined every day.
|
||||
static LinkGraphSchedule instance;
|
||||
|
||||
static LinkGraphSchedule *Instance();
|
||||
static void Run(void *j);
|
||||
static void Clear();
|
||||
|
||||
|
Reference in New Issue
Block a user