@mvirts@Moshpirit Yep, htop shows threads in green, so all of those shown in the image (except the first one probably) are threads. You can turn off display of threads in the settings.
Or, if you enable tree display, the threads will display as children of their process.
@[email protected]@[email protected] thanks for the info! I had no idea of the existence of threads! TBF I don’t even know the reason of their existence, but I’ll check it out :)
If you have any experience with computer programming, I would definitely recommend looking up a tutorial on threads for your favorite programming language and writing a little program that uses them. The best way to understand what threads are is through practical experience.
If not, hopefully you can find some good resources anyway! The gist is that threads are kind of like little mini-programs that run within a main program and can be used to do specific tasks that would otherwise “distract” the main program from its work. (That’s not exactly accurate, but it’s the best way I can think of to explain the basic idea in one sentence.)
@mvirts @Moshpirit Yep, htop shows threads in green, so all of those shown in the image (except the first one probably) are threads. You can turn off display of threads in the settings.
Or, if you enable tree display, the threads will display as children of their process.
@[email protected] @[email protected] thanks for the info! I had no idea of the existence of threads! TBF I don’t even know the reason of their existence, but I’ll check it out :)
@Moshpirit 👍
If you have any experience with computer programming, I would definitely recommend looking up a tutorial on threads for your favorite programming language and writing a little program that uses them. The best way to understand what threads are is through practical experience.
If not, hopefully you can find some good resources anyway! The gist is that threads are kind of like little mini-programs that run within a main program and can be used to do specific tasks that would otherwise “distract” the main program from its work. (That’s not exactly accurate, but it’s the best way I can think of to explain the basic idea in one sentence.)