Note that there are some explanatory texts on larger screens.

plurals
  1. POMore on Threads and Processes Using Android
    primarykey
    data
    text
    <p>This <a href="http://www.seti.net/SETINet/Other/Threads/Chap%201/Ch1.htm" rel="nofollow">article</a> about what are threads and first defines a procces reads </p> <p>"The operating system provides this virtualisation. Processes execute modules of code. These may be disjoint; in the sense that, the executable modules of code comprising Windows Explorer and Microsoft Word are disjoint. However, they may also be shared, as in the case of DLL's, the code for which is typically being executed in the context of many different processes, often simultaneously. The execution speed or ordering of processes is normally independent of one another: Microsoft word does not stop opening a document just because the print spooler is currently sending something to the printer! "</p> <p>I explain the article reads that "just because the print spooler is currently sending something to the printer! "</p> <p>I got a respocne that "It doesn't stop popening the doc just becuase the print spool because opening a document and spooling the printer are different processes"</p> <p>it was further explained that </p> <p>"yes basically two programs may be using one DLL but they are still separate processes so one process may have multiple threads like when you go to task manager, you can look at processes Each process gets their own turn on the CPU"</p> <p>I wanted more clarification about it and got</p> <p>"They are just saying that the DLL can be executed by multiple things simultaneously. The code for a DLL is typically being executed in the context of many different processes, often simultaneously that's the key line"</p> <p>and "two processes both using the same DLL (lets say "interpretdocument.dll") can both execute at the same time. they do not have to wait for one to "finish" with the dll in many other cases things that share resources would have to do that. One does not stop the other"</p> <p>Then I explained it is not technically running simultaneously but flip flopping</p> <p>and finally got to the point I didin't get: the individual responded:</p> <p>"right but it doesn't hold the resource if it did that then the entire process of opening the document would have to complete, then it would release the DLL then the printer could start using it like trying to rename a document when its open I assume... you're reading the book, not me :)"</p> <p>My question is, what does this mean "but it doesn't hold the resources, is the resource the DLL or the .doc file, and why was it emphasized? they share the resource? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload