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
improve an error message
[simgrid.git]
/
src
/
simix
/
SynchroRaw.hpp
diff --git
a/src/simix/SynchroRaw.hpp
b/src/simix/SynchroRaw.hpp
index
3d8a28e
..
c0a3444
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,9
@@
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:
+ void suspend();
+ void resume();
+
surf_action_t sleep;
};
surf_action_t sleep;
};