MONO_TRACE (G_LOG_LEVEL_DEBUG, MONO_TRACE_IO_LAYER, "%s: owning %s handle %p, tid %p, recursion %u",
__func__, mutex_handle_type_to_string (type), handle, (gpointer) mutex_handle->tid, mutex_handle->recursion);
- _wapi_thread_own_mutex (handle);
+ wapi_thread_own_mutex (handle);
mutex_handle->tid = pthread_self ();
mutex_handle->recursion++;
}
/* When a thread exits, any mutexes it still holds need to be signalled. */
-void _wapi_mutex_abandon (gpointer handle, pid_t pid, pthread_t tid)
+void wapi_mutex_abandon (gpointer handle, pid_t pid, pthread_t tid)
{
MonoW32HandleType type;
struct _WapiHandle_mutex *mutex_handle;
mutex_handle->recursion--;
if (mutex_handle->recursion == 0) {
- _wapi_thread_disown_mutex (handle);
+ wapi_thread_disown_mutex (handle);
MONO_TRACE (G_LOG_LEVEL_DEBUG, MONO_TRACE_IO_LAYER, "%s: unlocking %s handle %p",
__func__, mutex_handle_type_to_string (type), handle);