Index: uspace/lib/c/generic/thread.c
===================================================================
--- uspace/lib/c/generic/thread.c	(revision d54b3038b92866093ccc24cde1eeb71018e2cb00)
+++ uspace/lib/c/generic/thread.c	(revision b5143bd82217d3abb5c20adca5ee226d2e030878)
@@ -122,4 +122,7 @@
 	}
 	
+	/* Make heap thread safe. */
+	malloc_enable_multithreaded();
+	
 	uarg->uspace_entry = (void *) FADDR(__thread_entry);
 	uarg->uspace_stack = stack;
