|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2010-2012 Université de Bordeaux 1
|
|
|
+ * Copyright (C) 2010-2013 Université de Bordeaux 1
|
|
|
* Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
|
|
|
* Copyright (C) 2011 Télécom-SudParis
|
|
|
*
|
|
@@ -174,6 +174,11 @@ struct starpu_task *_starpu_get_worker_task(struct _starpu_worker *args, int wor
|
|
|
|
|
|
if (_starpu_worker_can_block(memnode))
|
|
|
_STARPU_PTHREAD_COND_WAIT(&args->sched_cond, &args->sched_mutex);
|
|
|
+#ifdef STARPU_SIMGRID
|
|
|
+ else
|
|
|
+ /* XXX: has to busy-loop for progression hooks */
|
|
|
+ MSG_process_sleep(0.000010);
|
|
|
+#endif
|
|
|
|
|
|
_STARPU_PTHREAD_MUTEX_UNLOCK(&args->sched_mutex);
|
|
|
|