OS2 at University Of Cape Town | Flashcards & Summaries

Select your language

Suggested languages for you:
Log In Start studying!

Lernmaterialien für OS2 an der University of Cape Town

Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen OS2 Kurs an der University of Cape Town zu.

TESTE DEIN WISSEN

What is a thread library?

Lösung anzeigen
TESTE DEIN WISSEN

An API for creating and managing threads.

Lösung ausblenden
TESTE DEIN WISSEN

What is asynchronous thread cancellation?

Lösung anzeigen
TESTE DEIN WISSEN

Terminating a target thread immediately.

Lösung ausblenden
TESTE DEIN WISSEN

What are the benefits of multithreading?

Lösung anzeigen
TESTE DEIN WISSEN

Responsiveness, allowing continuous execution if part of a process is blocked.

Resource sharing, allowing threads to share resources of a process.

Economy, it's computationally cheaper to create threads than it is to create processes.

Scalability, more concurrency.

Lösung ausblenden
TESTE DEIN WISSEN

What is the difference between user threads and kernel threads?

Lösung anzeigen
TESTE DEIN WISSEN

User threads are supported above the kernel, without support from the kernel. Kernel threads are supported and managed directly by the OS. 

Lösung ausblenden
TESTE DEIN WISSEN

What is a process?

Lösung anzeigen
TESTE DEIN WISSEN

A program in execution

Lösung ausblenden
TESTE DEIN WISSEN

What are signals?

Lösung anzeigen
TESTE DEIN WISSEN

Something used in UNIX systems to notify a process that a certain event has occurred.

Lösung ausblenden
TESTE DEIN WISSEN

How do operating systems accommodate multiple copies of a program running at once?

Lösung anzeigen
TESTE DEIN WISSEN

To save space, the computer only stores one copy of the instructions (the programs source code), and creates multiple processes to read said instructions.

Lösung ausblenden
TESTE DEIN WISSEN

What is the difference between a program and a process?

Lösung anzeigen
TESTE DEIN WISSEN

A program is a static entity while a process is a dynamic entity

Lösung ausblenden
TESTE DEIN WISSEN

What is an orphan process?

Lösung anzeigen
TESTE DEIN WISSEN

A process that still has an entry in a process list but whose parent has ended without invoking wait().

Lösung ausblenden
TESTE DEIN WISSEN

Can a process create other processes?

Lösung anzeigen
TESTE DEIN WISSEN

Yes, processes are capable of starting new processes.

Lösung ausblenden
TESTE DEIN WISSEN

What is the job of an operating system with regard to threads?

Lösung anzeigen
TESTE DEIN WISSEN

To provide the illusion of infinite virtual processes running.

Lösung ausblenden
TESTE DEIN WISSEN

What is deferred thread cancellation?

Lösung anzeigen
TESTE DEIN WISSEN

Allowing threads to periodically check whether they need to be cancelled.

Lösung ausblenden
  • 37656 Karteikarten
  • 2220 Studierende
  • 28 Lernmaterialien

Beispielhafte Karteikarten für deinen OS2 Kurs an der University of Cape Town - von Kommilitonen auf StudySmarter erstellt!

Q:

What is a thread library?

A:

An API for creating and managing threads.

Q:

What is asynchronous thread cancellation?

A:

Terminating a target thread immediately.

Q:

What are the benefits of multithreading?

A:

Responsiveness, allowing continuous execution if part of a process is blocked.

Resource sharing, allowing threads to share resources of a process.

Economy, it's computationally cheaper to create threads than it is to create processes.

Scalability, more concurrency.

Q:

What is the difference between user threads and kernel threads?

A:

User threads are supported above the kernel, without support from the kernel. Kernel threads are supported and managed directly by the OS. 

Q:

What is a process?

A:

A program in execution

Mehr Karteikarten anzeigen
Q:

What are signals?

A:

Something used in UNIX systems to notify a process that a certain event has occurred.

Q:

How do operating systems accommodate multiple copies of a program running at once?

A:

To save space, the computer only stores one copy of the instructions (the programs source code), and creates multiple processes to read said instructions.

Q:

What is the difference between a program and a process?

A:

A program is a static entity while a process is a dynamic entity

Q:

What is an orphan process?

A:

A process that still has an entry in a process list but whose parent has ended without invoking wait().

Q:

Can a process create other processes?

A:

Yes, processes are capable of starting new processes.

Q:

What is the job of an operating system with regard to threads?

A:

To provide the illusion of infinite virtual processes running.

Q:

What is deferred thread cancellation?

A:

Allowing threads to periodically check whether they need to be cancelled.

OS2

Erstelle und finde Lernmaterialien auf StudySmarter.

Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.

Jetzt loslegen

Das sind die beliebtesten OS2 Kurse im gesamten StudySmarter Universum

OSC

University of Nottingham

Zum Kurs
OSCE

Medical Academy in Lublin

Zum Kurs
OSCE

Örebro University

Zum Kurs
OSCE

University of Plymouth

Zum Kurs

Die all-in-one Lernapp für Studierende

Greife auf Millionen geteilter Lernmaterialien der StudySmarter Community zu
Kostenlos anmelden OS2
Erstelle Karteikarten und Zusammenfassungen mit den StudySmarter Tools
Kostenlos loslegen OS2