Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If multiple threads are running within a process and the process goes from running to blocked state then do all the threads within the process automatically go into blocked state as well?

If the answer is OS specific then we can assume that the OS being used is Windows

share|improve this question
    
"Blocked" is not a process state in Windows. Processes don't have scheduling states. Threads do. Yes, there is an NtSuspendProcess native API, but it works by calling NtSuspendThread on each of the process's threads. – Jamie Hanrahan Sep 21 '15 at 11:42
up vote 0 down vote accepted

How are you determining the blocked status of the process in question?

I recommend using the Process Explorer from sysinternals.com, as it will tell you as much as you can know about the Windows processes running on your machine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.