1
$\begingroup$

"Each process that is executed is divided into blocks of same size, called pages." "Thread is a part of process being executed."

Are pages and threads both part(s) of process? Whats the difference between thread as a part of process and page as a part of process?

$\endgroup$
2
  • 1
    $\begingroup$ Pages are blocks of memory. $\endgroup$ Feb 20, 2018 at 18:38
  • $\begingroup$ That's like asking what's the difference between a steering wheel and a cup holder, which are both part of a car. You need to learn what a "page" is, and what a "thread" is. They are not things that can be reasonably compared. $\endgroup$
    – gnasher729
    May 19, 2018 at 7:42

2 Answers 2

4
$\begingroup$

You're looking at very vague descriptions and asking "What's the difference between these things that haven't been described properly?" For a more detailed understanding, you should, well, look for more detail, which is widely available.

A page is a block of memory; a thread is a sequence of instructions to be executed.

$\endgroup$
0
$\begingroup$

Paging is something to deal with memory management and Thread is an instance of a program . When we execute a multithreaded program it may have to refer memory addresses , so a thread might use a page table to access the main memory address.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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