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
don't include a smx private header in xbt implem
[simgrid.git]
/
src
/
xbt
/
xbt_os_synchro.c
diff --git
a/src/xbt/xbt_os_synchro.c
b/src/xbt/xbt_os_synchro.c
index
5ece743
..
52b1762
100644
(file)
--- a/
src/xbt/xbt_os_synchro.c
+++ b/
src/xbt/xbt_os_synchro.c
@@
-13,15
+13,10
@@
#include "xbt/synchro_core.h"
#include "simgrid/simix.h" /* used implementation */
#include "xbt/synchro_core.h"
#include "simgrid/simix.h" /* used implementation */
-#include "../simix/smx_private.h" /* FIXME */
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_sync, xbt, "Synchronization mechanism");
/****** mutex related functions ******/
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_sync, xbt, "Synchronization mechanism");
/****** mutex related functions ******/
-struct s_xbt_mutex_ {
- s_smx_mutex_t mutex;
-};
-
xbt_mutex_t xbt_mutex_init(void)
{
return (xbt_mutex_t) simcall_mutex_init();
xbt_mutex_t xbt_mutex_init(void)
{
return (xbt_mutex_t) simcall_mutex_init();
@@
-48,10
+43,6
@@
void xbt_mutex_destroy(xbt_mutex_t mutex)
}
/***** condition related functions *****/
}
/***** condition related functions *****/
-struct s_xbt_cond_ {
- s_smx_cond_t cond;
-};
-
xbt_cond_t xbt_cond_init(void)
{
return (xbt_cond_t) simcall_cond_init();
xbt_cond_t xbt_cond_init(void)
{
return (xbt_cond_t) simcall_cond_init();