Signal Handling

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts and definitions related to signal handling in operating systems.

Last updated 3:54 AM on 4/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

Signal

An event generated by the OS to notify a process or thread of an important situation.

2
New cards

SIGHUP

Signal used to report disconnection of the user’s terminal.

3
New cards

SIGINT

Signal sent to interrupt a process, triggered by the user typing Ctrl + C.

4
New cards

SIGQUIT

Signal sent to quit a process, triggered by the user typing Ctrl + .

5
New cards

SIGILL

Signal generated when an illegal instruction is executed.

6
New cards

SIGTRAP

Signal generated by a breakpoint instruction, often used by a debugger.

7
New cards

SIGABRT

Signal generated when the abort() function is called, indicating an error.

8
New cards

SIGFPE

Signal generated by a floating-point exception.

9
New cards

SIGUSR1 and SIGUSR2

User-defined signals useful for inter-process communication.

10
New cards

SIGCHLD

Signal sent to the parent process when a child process has terminated.

11
New cards

sigaction

A library function used to install a signal handler.

12
New cards

Handler Restrictions

The signal handler must perform minimal work and return to the OS quickly.

13
New cards

Thread Parameters

Struct used to pass parameters to a thread handling a signal.

14
New cards

pthread_create

Function used to create a new thread in a program.

15
New cards

Memory Leak

A situation where dynamically allocated memory is not released.

16
New cards

printf

A standard output function that is typically not recommended in signal handlers.