A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make SIMIX_context_new() accept std::function
[simgrid.git]
/
src
/
simix
/
SynchroRaw.hpp
diff --git
a/src/simix/SynchroRaw.hpp
b/src/simix/SynchroRaw.hpp
index
3d8a28e
..
7086bd3
100644
(file)
--- a/
src/simix/SynchroRaw.hpp
+++ b/
src/simix/SynchroRaw.hpp
@@
-6,6
+6,7
@@
#ifndef _SIMIX_SYNCHRO_RAW_HPP
#define _SIMIX_SYNCHRO_RAW_HPP
#ifndef _SIMIX_SYNCHRO_RAW_HPP
#define _SIMIX_SYNCHRO_RAW_HPP
+#include "surf/surf.h"
#include "src/simix/Synchro.h"
namespace simgrid {
#include "src/simix/Synchro.h"
namespace simgrid {
@@
-14,6
+15,11
@@
namespace simix {
/** Used to implement mutexes, semaphores and conditions */
XBT_PUBLIC_CLASS Raw : public Synchro {
public:
/** Used to implement mutexes, semaphores and conditions */
XBT_PUBLIC_CLASS Raw : public Synchro {
public:
+ ~Raw();
+ void suspend() override;
+ void resume() override;
+ void post() override;
+
surf_action_t sleep;
};
surf_action_t sleep;
};