SlideShare a Scribd company logo
< Operating System Design
Current revision (unreviewed)

A thread is really just a process without certain rights. Threads only have access to the stack and
registers, and use a program counter. The program counter gives the program instructions to the
CPU when time. Threads are useful because they hold variables, and are a good way of keeping
track of instructions. The Thread actually has the same address as its process, therefore the
thread runs "inside the process". If a program uses one process, and the process has one thread,
the the thread could be doing one function while the process another. Having more that one
thread sharing process address space is called multithreading. Multithreading increases the
CPU efficiency due to the possible fact of having more than one process running in User space.

More Related Content

PDF
Processes and-threads
PPTX
PPTX
Thread management
PPTX
Concept of thread, multi thread, tcb
PPTX
Threads
PPT
Operating System-Threads-Galvin
PPTX
Networking threads
PPT
Os Threads
Processes and-threads
Thread management
Concept of thread, multi thread, tcb
Threads
Operating System-Threads-Galvin
Networking threads
Os Threads

What's hot (11)

PDF
An Introduction to threads
PPT
PPTX
Threads
PPTX
Operating system: threads(mulithreading,benefits of threads, types of thread)
PPTX
Mulitthread
DOCX
Multicore system
PPT
Operating System Chapter 4 Multithreaded programming
PPT
Operating System 4
PDF
4 threads
PPTX
Thread scheduling in Operating Systems
An Introduction to threads
Threads
Operating system: threads(mulithreading,benefits of threads, types of thread)
Mulitthread
Multicore system
Operating System Chapter 4 Multithreaded programming
Operating System 4
4 threads
Thread scheduling in Operating Systems
Ad

Viewers also liked (20)

PDF
6331 sayili isg_kanunu
DOCX
Tecnica y desarrollo sustentable
PPT
Gamify your life
PDF
Política sobre el plagio UNAD
PPTX
Ako dobre predať firmu?
ODP
La Ciudad Del Amor
PPT
Felles nødmeldesentral
PPTX
Elcalentamientoglobal
PPTX
Características y fuentes de la innovación técnica
PPTX
Errors Tracker
PPT
ANTICYCLONES
PPTX
Naveen
PPTX
Unidad 10
PPT
Asp dot net final (1)
PDF
24th November 2014 Short Silver Futures
PDF
Bucaq. Bucağın növləri. Üçbucaq
PPTX
Health education
PDF
Resultados del i concurso de dibujo
PDF
Modern Wands and Wizards
6331 sayili isg_kanunu
Tecnica y desarrollo sustentable
Gamify your life
Política sobre el plagio UNAD
Ako dobre predať firmu?
La Ciudad Del Amor
Felles nødmeldesentral
Elcalentamientoglobal
Características y fuentes de la innovación técnica
Errors Tracker
ANTICYCLONES
Naveen
Unidad 10
Asp dot net final (1)
24th November 2014 Short Silver Futures
Bucaq. Bucağın növləri. Üçbucaq
Health education
Resultados del i concurso de dibujo
Modern Wands and Wizards
Ad

Similar to Not Imp (20)

PPTX
Assignment-01.pptx
PDF
Parallel and Distributed Computing chapter 3
PPTX
dos slide share.pptx
PPTX
threading and multi threading in java
PPTX
DOC
PPTX
Multi threaded programming
PDF
Threads lecture slides for operating systems
PPTX
Operating Systems R20 Unit 2.pptx
PPTX
Epc 3.ppt
PPTX
Lecture 3 threads
PPTX
Engineeering Operating systemsOS UNIT 3 Threads.pptx
PDF
PDF
threads (1).pdfmjlkjfwjgliwiufuaiusyroayr
DOC
Wiki 2
PPTX
Java Thread & Multithreading
PPTX
MULTI PROCESSOR is a computer processor to handle multiple tasks at the same ...
PDF
Explain why multiple processes cannot share data easilySolution.pdf
PPTX
PDF
Operating system (OS) itself is a process, what approaches are there.pdf
Assignment-01.pptx
Parallel and Distributed Computing chapter 3
dos slide share.pptx
threading and multi threading in java
Multi threaded programming
Threads lecture slides for operating systems
Operating Systems R20 Unit 2.pptx
Epc 3.ppt
Lecture 3 threads
Engineeering Operating systemsOS UNIT 3 Threads.pptx
threads (1).pdfmjlkjfwjgliwiufuaiusyroayr
Wiki 2
Java Thread & Multithreading
MULTI PROCESSOR is a computer processor to handle multiple tasks at the same ...
Explain why multiple processes cannot share data easilySolution.pdf
Operating system (OS) itself is a process, what approaches are there.pdf

Not Imp

  • 1. < Operating System Design Current revision (unreviewed) A thread is really just a process without certain rights. Threads only have access to the stack and registers, and use a program counter. The program counter gives the program instructions to the CPU when time. Threads are useful because they hold variables, and are a good way of keeping track of instructions. The Thread actually has the same address as its process, therefore the thread runs "inside the process". If a program uses one process, and the process has one thread, the the thread could be doing one function while the process another. Having more that one thread sharing process address space is called multithreading. Multithreading increases the CPU efficiency due to the possible fact of having more than one process running in User space.