Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When Im running a program that creates N threads, top or ps display N+2 processes that are running my program. What do all these processes correspond to?

0
10 Posted

When Im running a program that creates N threads, top or ps display N+2 processes that are running my program. What do all these processes correspond to?

0
10

Due to the general “one process per thread” model, there’s one process for the initial thread and N processes for the threads it created using

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123