From 17e978089ff52a13e633dc20f7ee0ba021f46d61 Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Fri, 11 Dec 2009 15:18:19 +0100 Subject: Don't set the main thread name. --- libddekit/thread.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libddekit') diff --git a/libddekit/thread.c b/libddekit/thread.c index 48720584..c1a9c6d5 100644 --- a/libddekit/thread.c +++ b/libddekit/thread.c @@ -231,12 +231,6 @@ void ddekit_yield(void) } void ddekit_init_threads() { - char *str = "main"; - char *name = ddekit_simple_malloc (strlen (str) + 1); - - strcpy (name, str); - // TODO maybe the name has already been set. - cthread_set_name (cthread_self (), name); } /********************************************************************** -- cgit v1.2.3