• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/10

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

10 Cards in this Set

  • Front
  • Back
What is a process?
The basic computational unit in an operating system. A program in execution.
What is a thread?
A light-weight process. Shares a common address space, but each have their own local state.
What is a Process Control Block (PCB)?

What does it contain?
The activation record of a process.

It contains state information such as the program counter, register contents, stack pointers, communication ports, and file descriptors.
What is a Thread Control Block (TCB)?

What does it contain?
Like a PCB but managed by the thread run-time library.

Contains registers, PC, and stack pointers.
What is a User Space Thread implementation?
A thread package implemented as a software layer.
What is a Kernel Space Thread implementation?
A thread package implemented at the kernel level.
What communication scenarios correspond to simplex, half-duplex, and full-duplex?
One-way, client/server, and peer.
What is the client/server model?

Can the same process play both roles?
The programming paradigm in which any process in a system either provides services (server) or requests services (client). There is an underlying assumption of a synchronous request/reply exchange of information.

Yes.
What are the two best ways to combine several UTCs (Universal Coordinated Time)?
Averaging or median because suspiciously erroneous readings can be excluded or compensated for.
What are the 3 rules for total ordering of events?
1. If a -> b within the same process then C(a) < C(b)
2. If a is the sending event of Pi and b is the corresponding receiving event of Pj, then Ci(a) < Cj(b)
3. For all events a and b, C(a) != C(b).