SlideShare a Scribd company logo
1 of 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.

More Related Content

What's hot

An Introduction to threads
An Introduction to threadsAn Introduction to threads
An Introduction to threadsZahra Sadeghi
 
Operating system: threads(mulithreading,benefits of threads, types of thread)
Operating system: threads(mulithreading,benefits of threads, types of thread)Operating system: threads(mulithreading,benefits of threads, types of thread)
Operating system: threads(mulithreading,benefits of threads, types of thread)sonuu__
 
Mulitthread
MulitthreadMulitthread
MulitthreadDeepaR42
 
Multicore system
Multicore systemMulticore system
Multicore systemDana dia
 
Operating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programmingOperating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programmingguesta40f80
 
Operating System 4
Operating System 4Operating System 4
Operating System 4tech2click
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating SystemsNitish Gulati
 

What's hot (11)

An Introduction to threads
An Introduction to threadsAn Introduction to threads
An Introduction to threads
 
Treads
TreadsTreads
Treads
 
Threads
ThreadsThreads
Threads
 
Operating system: threads(mulithreading,benefits of threads, types of thread)
Operating system: threads(mulithreading,benefits of threads, types of thread)Operating system: threads(mulithreading,benefits of threads, types of thread)
Operating system: threads(mulithreading,benefits of threads, types of thread)
 
Mulitthread
MulitthreadMulitthread
Mulitthread
 
Multicore system
Multicore systemMulticore system
Multicore system
 
Operating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programmingOperating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programming
 
Operating System 4
Operating System 4Operating System 4
Operating System 4
 
4 threads
4 threads4 threads
4 threads
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating Systems
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 

Viewers also liked

Viewers also liked (20)

6331 sayili isg_kanunu
6331 sayili isg_kanunu6331 sayili isg_kanunu
6331 sayili isg_kanunu
 
Tecnica y desarrollo sustentable
Tecnica y desarrollo sustentableTecnica y desarrollo sustentable
Tecnica y desarrollo sustentable
 
Gamify your life
Gamify your lifeGamify your life
Gamify your life
 
Política sobre el plagio UNAD
Política sobre el plagio UNADPolítica sobre el plagio UNAD
Política sobre el plagio UNAD
 
Ako dobre predať firmu?
Ako dobre predať firmu? Ako dobre predať firmu?
Ako dobre predať firmu?
 
La Ciudad Del Amor
La Ciudad Del AmorLa Ciudad Del Amor
La Ciudad Del Amor
 
Felles nødmeldesentral
Felles nødmeldesentralFelles nødmeldesentral
Felles nødmeldesentral
 
Elcalentamientoglobal
ElcalentamientoglobalElcalentamientoglobal
Elcalentamientoglobal
 
Características y fuentes de la innovación técnica
Características y fuentes de la innovación técnicaCaracterísticas y fuentes de la innovación técnica
Características y fuentes de la innovación técnica
 
Errors Tracker
Errors TrackerErrors Tracker
Errors Tracker
 
ANTICYCLONES
ANTICYCLONESANTICYCLONES
ANTICYCLONES
 
Naveen
NaveenNaveen
Naveen
 
Unidad 10
Unidad 10Unidad 10
Unidad 10
 
Asp dot net final (1)
Asp dot net   final (1)Asp dot net   final (1)
Asp dot net final (1)
 
24th November 2014 Short Silver Futures
 24th November 2014 Short Silver Futures 24th November 2014 Short Silver Futures
24th November 2014 Short Silver Futures
 
Bucaq. Bucağın növləri. Üçbucaq
Bucaq. Bucağın növləri. ÜçbucaqBucaq. Bucağın növləri. Üçbucaq
Bucaq. Bucağın növləri. Üçbucaq
 
Diabetes
DiabetesDiabetes
Diabetes
 
Health education
Health educationHealth education
Health education
 
Resultados del i concurso de dibujo
Resultados del i concurso de dibujoResultados del i concurso de dibujo
Resultados del i concurso de dibujo
 
Modern Wands and Wizards
Modern Wands and WizardsModern Wands and Wizards
Modern Wands and Wizards
 

Similar to Not Imp

Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3AbdullahMunir32
 
dos slide share.pptx
dos slide share.pptxdos slide share.pptx
dos slide share.pptxNagaVarthini
 
threading and multi threading in java
threading and multi threading in javathreading and multi threading in java
threading and multi threading in javaHamza Shah
 
Multi threaded programming
Multi threaded programmingMulti threaded programming
Multi threaded programmingAnyapuPranav
 
Operating Systems R20 Unit 2.pptx
Operating Systems R20 Unit 2.pptxOperating Systems R20 Unit 2.pptx
Operating Systems R20 Unit 2.pptxPrudhvi668506
 
Java Thread & Multithreading
Java Thread & MultithreadingJava Thread & Multithreading
Java Thread & Multithreadingjehan1987
 
Explain why multiple processes cannot share data easilySolution.pdf
Explain why multiple processes cannot share data easilySolution.pdfExplain why multiple processes cannot share data easilySolution.pdf
Explain why multiple processes cannot share data easilySolution.pdfezzi97
 
Operating system (OS) itself is a process, what approaches are there.pdf
Operating system (OS) itself is a process, what approaches are there.pdfOperating system (OS) itself is a process, what approaches are there.pdf
Operating system (OS) itself is a process, what approaches are there.pdfJUSTSTYLISH3B2MOHALI
 
Multivector and multiprocessor
Multivector and multiprocessorMultivector and multiprocessor
Multivector and multiprocessorKishan Panara
 
Multithreading
MultithreadingMultithreading
MultithreadingA B Shinde
 

Similar to Not Imp (20)

Assignment-01.pptx
Assignment-01.pptxAssignment-01.pptx
Assignment-01.pptx
 
Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3
 
dos slide share.pptx
dos slide share.pptxdos slide share.pptx
dos slide share.pptx
 
threading and multi threading in java
threading and multi threading in javathreading and multi threading in java
threading and multi threading in java
 
Threads
ThreadsThreads
Threads
 
Threads
ThreadsThreads
Threads
 
Multi threaded programming
Multi threaded programmingMulti threaded programming
Multi threaded programming
 
Operating Systems R20 Unit 2.pptx
Operating Systems R20 Unit 2.pptxOperating Systems R20 Unit 2.pptx
Operating Systems R20 Unit 2.pptx
 
Epc 3.ppt
Epc 3.pptEpc 3.ppt
Epc 3.ppt
 
Lecture 3 threads
Lecture 3   threadsLecture 3   threads
Lecture 3 threads
 
Thread
ThreadThread
Thread
 
Wiki 2
Wiki 2Wiki 2
Wiki 2
 
Java Thread & Multithreading
Java Thread & MultithreadingJava Thread & Multithreading
Java Thread & Multithreading
 
Explain why multiple processes cannot share data easilySolution.pdf
Explain why multiple processes cannot share data easilySolution.pdfExplain why multiple processes cannot share data easilySolution.pdf
Explain why multiple processes cannot share data easilySolution.pdf
 
Thread
ThreadThread
Thread
 
Operating system (OS) itself is a process, what approaches are there.pdf
Operating system (OS) itself is a process, what approaches are there.pdfOperating system (OS) itself is a process, what approaches are there.pdf
Operating system (OS) itself is a process, what approaches are there.pdf
 
Multivector and multiprocessor
Multivector and multiprocessorMultivector and multiprocessor
Multivector and multiprocessor
 
W-9.pptx
W-9.pptxW-9.pptx
W-9.pptx
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Chapter 3 chapter reading task
Chapter 3 chapter reading taskChapter 3 chapter reading task
Chapter 3 chapter reading task
 

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.