Browse Source

Fix builld with blocking drivers

Samuel Thibault 12 years ago
parent
commit
267a83a5ad
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/core/sched_policy.c

+ 2 - 2
src/core/sched_policy.c

@@ -689,8 +689,8 @@ void _starpu_wait_on_sched_event(void)
 	if (_starpu_machine_is_running())
 	{
 #ifndef STARPU_NON_BLOCKING_DRIVERS
-		_STARPU_PTHREAD_COND_WAIT(worker->sched_cond,
-					  worker->sched_mutex);
+		_STARPU_PTHREAD_COND_WAIT(&worker->sched_cond,
+					  &worker->sched_mutex);
 #endif
 	}