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;
14 Cards in this Set
- Front
- Back
A program in execution |
Process |
|
Using various system calls, a process can: |
Create one or more child processes Change the program running within the process Suspend execution by waiting for a child process to complete Terminate itself |
|
Processes |
pid_t fork(void); |
|
Execution of programs - lets you shapeshift |
int execl(char *path, char *arg0, ... , char *argn, NULL); |
|
Process synchronization - suspend a process |
pid_t wait(int *status); |
|
Termination |
void exit(int status); |
|
Creates a child that's an exact clone of the parent |
Fork |
|
A condition of a system in which multiple tasks are logically active at one time; function of design |
Concurrency |
|
A condition of a system in which multiple tasks are actually active at one time; function of hardware |
Parallelism |
|
Allows 2 or more processes to share the same segment of virtual memory |
Shared memory |
|
Using various system calls a process can: |
Construct a shared memory segment Attach the shared memory segment to a process data segment Detach the shared memory segment Destroy a shared memory segment |
|
Each process may map shared segment at __ virtual address |
Different |
|
Basic idea is to add concurrency by allowing multiple stages to be active simultaneously for different instructions |
Pipelining |
|
What are the stages in a data path? |
Fetch, decode, compute, memory, write |