Search code examples
multithreadingprocessblock

i have a process that is blocked.but one thread of this process is (not running) still executing something


how does the threads library affect this activity?is the threads library responsible for this?if it is,is the threads library the only responsible? and if you can,explain me what is exactly the threads library....


Solution

  • A process can often appear "blocked" if it's user interface thread is waiting on a routine. This may be the only thread in the program, but that thread is doing something computationally intensive, and prevents the user interface from updating.

    That is really a separate issue from threading libraries, however.