#ifndef _SIMIX_SYNCHRO_RAW_HPP
#define _SIMIX_SYNCHRO_RAW_HPP
+#include "surf/surf.h"
#include "src/simix/Synchro.h"
namespace simgrid {
/** Used to implement mutexes, semaphores and conditions */
XBT_PUBLIC_CLASS Raw : public Synchro {
public:
- surf_action_t sleep;
+ ~Raw() override;
+ void suspend() override;
+ void resume() override;
+ void post() override;
+
+ surf_action_t sleep = nullptr;
};
}} // namespace simgrid::simix