summaryrefslogtreecommitdiff
path: root/libddekit
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2009-12-11 15:18:19 +0100
committerZheng Da <zhengda1936@gmail.com>2009-12-11 15:18:19 +0100
commit17e978089ff52a13e633dc20f7ee0ba021f46d61 (patch)
treeeb6af822444c3ad0754e86dfc9b190050158a8e3 /libddekit
parent0451c065a044b9791b5cfa6a2432bcb8d1342710 (diff)
Don't set the main thread name.
Diffstat (limited to 'libddekit')
-rw-r--r--libddekit/thread.c6
1 files changed, 0 insertions, 6 deletions
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);
}
/**********************************************************************