return false;
}
-void *Thread_CreateMutex(void)
+void *_Thread_CreateMutex(const char *filename, int fileline)
{
+#ifdef THREADDEBUG
+ printf("%p create %s:%i\n" , mutex, filename, fileline);
+#endif
return NULL;
}
-void Thread_DestroyMutex(void *mutex)
+void _Thread_DestroyMutex(void *mutex, const char *filename, int fileline)
{
+#ifdef THREADDEBUG
+ printf("%p destroy %s:%i\n", mutex, filename, fileline);
+#endif
}
-int Thread_LockMutex(void *mutex)
+int _Thread_LockMutex(void *mutex, const char *filename, int fileline)
{
+#ifdef THREADDEBUG
+ printf("%p lock %s:%i\n" , mutex, filename, fileline);
+#endif
return -1;
}
-int Thread_UnlockMutex(void *mutex)
+int _Thread_UnlockMutex(void *mutex, const char *filename, int fileline)
{
+#ifdef THREADDEBUG
+ printf("%p unlock %s:%i\n" , mutex, filename, fileline);
+#endif
return -1;
}