Thread names to lwIP related threads.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3999 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2012-02-29 14:13:52 +00:00
parent 84f2c0ef32
commit 737aa2d9dd
2 changed files with 4 additions and 1 deletions

View File

@ -193,7 +193,8 @@ void sys_mbox_set_invalid(sys_mbox_t *mbox) {
sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread,
void *arg, int stacksize, int prio) {
(void)name;
chRegSetThreadName(name);
size_t wsz = THD_WA_SIZE(stacksize);
void *wsp = chCoreAlloc(wsz);
if (wsp == NULL)

View File

@ -224,6 +224,8 @@ msg_t lwip_thread(void *p) {
static struct netif thisif;
static const MACConfig mac_config = {thisif.hwaddr};
chRegSetThreadName("lwipthread");
/* Initializes the thing.*/
sys_init();
mem_init();