|
@@ -120,7 +120,8 @@ int starpu_pthread_mutex_trylock(starpu_pthread_mutex_t *mutex)
|
|
file += sizeof(char);
|
|
file += sizeof(char);
|
|
_STARPU_TRACE_TRYLOCK_MUTEX(file,__LINE__);
|
|
_STARPU_TRACE_TRYLOCK_MUTEX(file,__LINE__);
|
|
|
|
|
|
- return xbt_mutex_acquire(*mutex);
|
|
|
|
|
|
+ xbt_mutex_acquire(*mutex);
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
|
|
|
|
static int used_key[MAX_TSD];
|
|
static int used_key[MAX_TSD];
|