Inter Process Communication Flashcards
1
Q
How are signals sent? In terms of when?
A
Asynchronously (as and when required)
2
Q
How does a process jump to respond to a specified signal?
A
Using a signal handler function
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)
4
Q
What are three common signals
A
sigstp, sigint, sigkill
5
Q
What is shared memory?
A
A segment in virtual memory allocated to multiple processes
6
Q
Is shared memory similar to multi threading
A
Yes except multiple PROCESSES (not threads) can access each others memory using shared memory
7
Q
Does shared memory offer concurrency protection?
A
No, mutual exclusion mechanisms must be used