ソースを参照

Fix builld with blocking drivers

Samuel Thibault 12 年 前
コミット
267a83a5ad
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  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
 	}