134 views
0 votes
0 votes

A process can receive two kinds of signals classified based on the source and reason.

  • Synchronous are the one that are generated by illegal memory access or division by zero.
  • Asynchronous are the one that are generated by another process like SIGKILL and etc.
In the both cases, the signal must be handled either by custom or default handler. For the synchronous it is crashing the running process, and in asynchronous, it is using the default routine whatsoever is defined in the system.
Here is the list of questions I have in my mind right now:
  1. What does exactly Synchronous and Asynchronous means here? 
  2. In the synchronous, who is waiting for the receiver process to respond?
  3. If both of them are need to be handled, then in my opinion, only priority of the execution would be the difference between these two. Does that mean synchronous signals have more priority?
  4. Can we call synchronous signals as exceptions? For example we have ZeroDivisionError or FileNotFoundError and all.
Ref: Signal Handling from Galvin OS book

Please log in or register to answer this question.

Related questions

303
views
1 answers
3 votes
h4kr asked Jan 5, 2023
303 views
What are the no of states b/w synchronous vs asynchronous counters
1.6k
views
7 answers
1 votes
sh!va asked Dec 6, 2016
1,562 views
Conceptual question:What is the difference between program and process?any simple ,clear answer plz..
3.1k
views
1 answers
2 votes
sumit kumar asked Nov 10, 2014
3,127 views
what is the difference between livelock and deadlock?how will you explain livelock to layman?asked at an interview @iitb
1.7k
views
3 answers
5 votes
Aayush Mittal asked Jun 12, 2015
1,686 views
Thread is a light-weight sub-process. If so, what is executed by the processor? Process or thread? If it is thread, why do we say that ready queue has ... is very small in size? What is actually the difference between these two?Thank you.