|
@@ -1,7 +1,7 @@
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
*
|
|
*
|
|
* Copyright (C) 2010 Université de Bordeaux 1
|
|
* Copyright (C) 2010 Université de Bordeaux 1
|
|
- * Copyright (C) 2010 Centre National de la Recherche Scientifique
|
|
|
|
|
|
+ * Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
|
|
*
|
|
*
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
@@ -101,7 +101,7 @@ int _starpu_spin_trylock(starpu_spinlock_t *lock)
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
-int _starpu_spin_unlock(starpu_spinlock_t *lock)
|
|
|
|
|
|
+int _starpu_spin_unlock(starpu_spinlock_t *lock __attribute__((unused)))
|
|
{
|
|
{
|
|
#ifdef STARPU_SPINLOCK_CHECK
|
|
#ifdef STARPU_SPINLOCK_CHECK
|
|
int ret = pthread_mutex_unlock(&lock->errcheck_lock);
|
|
int ret = pthread_mutex_unlock(&lock->errcheck_lock);
|