-/* Copyright (c) 2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2015. 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. */
-/** @file BoostContext.cpp Userspace context switching implementation based on Boost.Context */
-
#include <cstdint>
#include <functional>
: BoostContext(std::move(code), cleanup_func, process) {}
void stop() override;
void suspend() override;
- void resume();
};
#if HAVE_THREAD_CONTEXTS
: BoostContext(std::move(code), cleanup_func, process) {}
void stop() override;
void suspend() override;
- void resume();
+ void resume() override;
};
#endif