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
concatenate getline.c at the end of xbt_str.c
[simgrid.git]
/
src
/
xbt
/
xbt_thread.c
diff --git
a/src/xbt/xbt_thread.c
b/src/xbt/xbt_thread.c
index
7da3252
..
b35218d
100644
(file)
--- a/
src/xbt/xbt_thread.c
+++ b/
src/xbt/xbt_thread.c
@@
-388,7
+388,7
@@
void xbt_thcond_signal(xbt_thcond_t cond) {
if(!SetEvent(cond->events[SIGNAL]))
THROW0(system_error,0,"SetEvent failed");
-
Sleep(0
);
+
xbt_thread_yield(
);
}
void xbt_thcond_broadcast(xbt_thcond_t cond){