Should allow more than one shell

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
broucari
Posts: 15
Joined: Mon Aug 17, 2015 3:23 pm
Been thanked: 2 times

Should allow more than one shell

Postby broucari » Tue Aug 03, 2021 2:16 pm

Hi,

Shell use actually global variable and could not be activated from more than one (usb?) stream.

It will be nice if shell is reentrant and could be attached to more than one interface

Bastien

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Should allow more than one shell

Postby Giovanni » Tue Aug 03, 2021 4:00 pm

Hi,

You mean "shell_terminated"? it signals that one of the shells terminated, it allows for multiple shells.

Giovanni

broucari
Posts: 15
Joined: Mon Aug 17, 2015 3:23 pm
Been thanked: 2 times

Re: Should allow more than one shell

Postby broucari » Tue Aug 03, 2021 6:22 pm

Yes I means shell_terminated.

May be documentation should be improved but for it is better to be reentrant here

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Should allow more than one shell

Postby Giovanni » Tue Aug 03, 2021 7:16 pm

It is a synchronization object, it is meant to be shared.

Giovanni


Return to “Small Change Requests”

Who is online

Users browsing this forum: Google [Bot] and 1 guest