Convert the per-thread mutex list to a standard list.
diff --git a/server/thread.c b/server/thread.c
index 1e2abbd..816f3bf 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -115,7 +115,6 @@
thread->unix_tid = -1; /* not known yet */
thread->context = NULL;
thread->teb = NULL;
- thread->mutex = NULL;
thread->debug_ctx = NULL;
thread->debug_event = NULL;
thread->queue = NULL;
@@ -139,6 +138,7 @@
thread->creation_time = time(NULL);
thread->exit_time = 0;
+ list_init( &thread->mutex_list );
list_init( &thread->system_apc );
list_init( &thread->user_apc );