Exam 1 Flashcards
(43 cards)
PID
Process ID
GID
Group ID
UID
User ID
TSL
Test and Set Lock
process
a program in execution
daemon
a background process
child process
a process created by another process
multiprogramming
when multiple processes are running
multiprocessing
when multiple CPUs are running processes
race condition
two or more processes want to modify a shared resource at the same time and the result depends who runs when
quantum
the amount of time before a clock interrupt preempts a process
critical section
when the program is accessing the shared data
atomic action
a single check, change, and possible sleep action
spin lock
a lock that uses busy waiting
system call
trapping into the kernel and invoking the operating system
throughput
the number of jobs per hour the system completes
turnaround time
the averaged time from the moment a job is submitted to the time that it is completed in a batch setup
preemptive scheduling
selects a process to run for a set amount of time and after that time if the process is still running it is suspended and another process is allowed to run
context switch
switching from one program to another
thread
a lightweight process
what are the two main functions of an operating system
- an extended machine
- a resource manager
What hardware characteristics distinguish between the 4 generation of computers?
vacuum tubes, transistors, ICs, PCs
What is the memory hierarchy? Why do computer systems use a memory hierarchy?
registers, cache, main memory, disk drives, tape drives
the higher in the hierarchy the faster the access but the more it costs
Why are system calls necessary? What does the fork system call accomplish?
- system calls protect from allowing the user to cause avoidable damage to the system
- creates a child process