Page 1 of 1

No task name for the shell

Posted: Tue Oct 10, 2017 9:39 am
by choowf
Hi,

Is the shell intended to not have any task name?
Calling "threads" command in the shell doesn't display the task name for the shell.

I'm adding chRegSetThreadName("tShell") into the shellThread task

Re: No task name for the shell

Posted: Tue Oct 10, 2017 9:59 am
by Giovanni
Hi,

It is not done because you may want to give different names to your shells, it is possible to attribute names to created threads from outside the thread function.

Giovanni

Re: No task name for the shell

Posted: Tue Oct 10, 2017 11:33 am
by choowf
got that, thanks :)