Lecture 5: Process 2 Flashcards

1
Q

3 parts of Child Process Management:

A
  1. Resource Sharing: which resources are available to the child
  2. Execution
  3. Address Space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

fork ():

A

Creates a new child processes by creating a copy of executing process within a new address space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

execv (path, argv):

A

Replaces the process memory space w/ specified program in path and arguments argv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Independent Processes

A

Are not affected by the execution of other processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Interprocess Communication

A

exchange data and information (i.e Messaging, Shared memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Limited Modularity

A

Processes need to know each other’s pid (identifier)

-if the pid of a process changes then all references to that have to be examined again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Less Desirable:

A

Hard-coded technique (where identifiers are explicitly stated).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Indirect Communication

A

Messages directed and received from mailboxes (also referred to as ports.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Blocking is

A

Synchronous

  • Send has sender blocked until message is received
  • Receive has receiver blocked until message is available
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Non-Blocking is

A

Asynchronous

  • Send has sender send message and continue
  • Receive has receiver receive a valid message or null
How well did you know this?
1
Not at all
2
3
4
5
Perfectly