include teshsuite/kernel/context-defaults/factory_raw.tesh
include teshsuite/kernel/context-defaults/factory_thread.tesh
include teshsuite/kernel/context-defaults/factory_ucontext.tesh
+include teshsuite/kernel/simcall-generic/blocking_simcall.hpp
include teshsuite/kernel/simcall-generic/simcall-generic.cpp
include teshsuite/kernel/simcall-generic/simcall-generic.tesh
include teshsuite/kernel/stack-overflow/stack-overflow.cpp
include include/simgrid/simdag.h
include include/simgrid/simix.h
include include/simgrid/simix.hpp
-include include/simgrid/simix/blocking_simcall.hpp
include include/simgrid/smpi/smpi_replay.hpp
include include/simgrid/version.h.in
include include/simgrid/vm.h
namespace simgrid {
namespace simix {
+XBT_PUBLIC void unblock(smx_actor_t process);
+
inline auto& simix_timers() // avoid static initialization order fiasco
{
using TimerQelt = std::pair<double, Timer*>;
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "mc/mc.h"
-#include "simgrid/simix/blocking_simcall.hpp"
#include "src/kernel/activity/CommImpl.hpp"
#include "src/kernel/activity/ConditionVariableImpl.hpp"
#include "src/kernel/activity/ExecImpl.hpp"
# Pack the files in the archive
-set(teshsuite_src ${teshsuite_src} PARENT_SCOPE)
+set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/simcall-generic/blocking_simcall.hpp PARENT_SCOPE)
set(tesh_files ${tesh_files} PARENT_SCOPE)
set(xml_files ${xml_files} PARENT_SCOPE)
namespace simgrid {
namespace simix {
-XBT_PUBLIC void unblock(smx_actor_t process);
-
/** Execute some code in kernel mode and wakes up the actor when
* the result is available.
*
// - SharedFuture
// - simgrid::simix::when_all - wait for all future to be ready (this one is simple!)
// - simgrid::simix::when_any - wait for any future to be ready
-template <class T>
-class Future {
+template <class T> class Future {
public:
Future() = default;
explicit Future(simgrid::kernel::Future<T> future) : future_(std::move(future)) {}
#include <simgrid/s4u/Actor.hpp>
#include <simgrid/s4u/Engine.hpp>
#include <simgrid/simix.hpp>
-#include <simgrid/simix/blocking_simcall.hpp>
#include <xbt/log.h>
+#include "blocking_simcall.hpp"
+
XBT_LOG_NEW_DEFAULT_CATEGORY(test, "my log messages");
namespace example {
include/simgrid/forward.h
include/simgrid/simix.h
include/simgrid/simix.hpp
- include/simgrid/simix/blocking_simcall.hpp
include/simgrid/kernel/future.hpp
include/simgrid/disk.h
include/simgrid/host.h