Thread count

Discussions and support about ChibiOS/RT, the free embedded RTOS.
JordiMerc
Posts: 2
Joined: Fri Nov 18, 2016 11:52 am

Thread count

Postby JordiMerc » Fri Nov 18, 2016 12:14 pm

Hi all,

I've been searching around the board but I have been not able to find any method to get the number of threads during runtime

thanks

Jordi

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

Re: Thread count

Postby Giovanni » Fri Nov 18, 2016 1:12 pm

Hi,

You can use the registry functions in order to count them.

Giovanni

User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Location: Munich (Germany)
Has thanked: 83 times
Been thanked: 67 times
Contact:

Re: Thread count

Postby RoccoMarco » Fri Nov 18, 2016 2:10 pm

Considering the answer of Giovanni,
take a look to THREADS command of the shell demo (USB-CDC)

This command print a list of all threads.
Ciao.
Ciao,
RM

JordiMerc
Posts: 2
Joined: Fri Nov 18, 2016 11:52 am

Re: Thread count

Postby JordiMerc » Fri Nov 18, 2016 2:42 pm

Got it!!

Many thanks to both
Br's


Jordi


Return to “ChibiOS/RT”

Who is online

Users browsing this forum: No registered users and 36 guests