Inter Process Communication Flashcards

1
Q

How are signals sent? In terms of when?

A

Asynchronously (as and when required)

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

How does a process jump to respond to a specified signal?

A

Using a signal handler function

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

What else can a signal do if it does not have a signal hander function

A

Ignore the signal or perform default action for signal (e.g. process termination)

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

What are three common signals

A

sigstp, sigint, sigkill

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

What is shared memory?

A

A segment in virtual memory allocated to multiple processes

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

Is shared memory similar to multi threading

A

Yes except multiple PROCESSES (not threads) can access each others memory using shared memory

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

Does shared memory offer concurrency protection?

A

No, mutual exclusion mechanisms must be used

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