Explorar o código

src/common: move definition of _starpu_check_mutex_deadlock()

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
fd55b8710c
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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__