From: unknown Date: Mon, 23 Jan 2012 09:09:31 +0000 (+0100) Subject: Use of busy wait and not posix for te moment. X-Git-Tag: exp_20120216~119^2~37 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b1f4ac74dc1e3839cf079047c20c05645de2f411 Use of busy wait and not posix for te moment. On windows we don't have futex so we must use busy wait. --- diff --git a/src/xbt/parmap.c b/src/xbt/parmap.c index 9f2f35bd49..c0ffc9f736 100644 --- a/src/xbt/parmap.c +++ b/src/xbt/parmap.c @@ -124,7 +124,8 @@ static void xbt_parmap_set_mode(xbt_parmap_t parmap, e_xbt_parmap_mode_t mode) #ifdef HAVE_FUTEX_H mode = XBT_PARMAP_FUTEX; #else - mode = XBT_PARMAP_POSIX; + //For now use busy wait because posix is unimplemented + mode = XBT_PARMAP_BUSY_WAIT; #endif } parmap->mode = mode;