Browse Source

src/common: move definition of _starpu_check_mutex_deadlock()

Nathalie Furmento 12 years ago
parent
commit
fd55b8710c
2 changed files with 2 additions and 2 deletions
  1. 0 2
      src/common/thread.h
  2. 2 0
      src/common/utils.h

+ 0 - 2
src/common/thread.h

@@ -88,8 +88,6 @@
 	}                                                                      \
 } while (0)
 
-int _starpu_check_mutex_deadlock(starpu_pthread_mutex_t *mutex);
-
 /*
  * Encapsulation of the starpu_pthread_key_* functions.
  */

+ 2 - 0
src/common/utils.h

@@ -117,4 +117,6 @@ struct starpu_codelet;
 /* Returns the symbol associated to that job if any. */
 const char *_starpu_codelet_get_model_name(struct starpu_codelet *cl);
 
+int _starpu_check_mutex_deadlock(starpu_pthread_mutex_t *mutex);
+
 #endif // __COMMON_UTILS_H__