-/* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
namespace sd{
class Global {
public:
- explicit Global();
- Global(const Global&) = delete;
- Global& operator=(const Global&) = delete;
- ~Global();
- bool watch_point_reached; /* has a task just reached a watch point? */
- std::set<SD_task_t> *initial_tasks;
- std::set<SD_task_t> *runnable_tasks;
- std::set<SD_task_t> *completed_tasks;
- std::set<SD_task_t> *return_set;
+ bool watch_point_reached = false; /* has a task just reached a watch point? */
+ std::set<SD_task_t> initial_tasks;
+ std::set<SD_task_t> runnable_tasks;
+ std::set<SD_task_t> completed_tasks;
+ std::set<SD_task_t> return_set;
};
std::set<SD_task_t>* simulate (double how_long);