(a )Programs can communicate with the Linux OS using library functions.
(b ) The Linux OS communicates with a program by means of signals.
(c ) The interrupt signal (SIGINT) is sent by the kernel to our program when we press Ctrl + C.
(d ) A term signal (SIGTERM) is sent to the program when we use the kill command.
(e ) A process cannot handle an un-catchable signal.
(f ) The kill –SIGKILL variation of the kill command generates an un-catchable SIGKILL signal that terminates a process.
(g ) A process can block a signal or a set of signals using the sigprocmask( ) function.
(h ) Blocked signals are delivered to the process when the signals are unblocked.
(i ) A SIGSTOP signal is generated when we press Ctrl + Z.
(j ) A SIGSTOP signal is un-catchable signal.
(k ) A suspended process can be resumed using the fg command.
(l ) A process receives the SIGCONT signal when it resumes execution.
(m ) In GTK, the g_signal_connect( ) function can be used to connect a function with an event.
No comments:
Post a Comment