← BYTES
Unix IPC·Starter·Ref: 15.1.5

What is a signal in Unix, and what is one common example?

Have a question about this video? Mention reference 15.1.5 when you contact us.

a.An asynchronous notification sent to a process, which can trigger a default action, a custom handler, or be ignored -- e.g., SIGTERM (ask a process to terminate gracefully) or SIGKILL (force immediate termination)
b.A type of network packet
c.A file format for storing text
d.A compiler warning message
Signals are a lightweight, asynchronous IPC-adjacent mechanism for notifying a process of an event (often from the kernel or another process, e.g. via `kill`) -- the receiving process can run a custom handler, let the default action occur (often termination), or in most cases, explicitly ignore it, except for a few signals like SIGKILL that cannot be caught or ignored.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES1515#UnixIPC