--- /dev/null
+/* Copyright (c) 2016. 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. */
+
+#include <xbt/functional.hpp>
+
+#include <simgrid/kernel/future.hpp>
+
+#include "src/simix/smx_private.h"
+
+namespace simgrid {
+namespace kernel {
+
+void FutureStateBase::schedule(simgrid::xbt::Task<void()>&& job)
+{
+ simix_global->tasks.push_back(std::move(job));
+}
+
+}
+}