this post was submitted on 08 Sep 2024
1212 points (99.2% liked)

Programmer Humor

19471 readers
1459 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ramble81@lemm.ee 4 points 1 month ago (1 children)

Thank you! That’s what I was looking for.

[–] jaybone@lemmy.world 7 points 1 month ago

In languages like C, your application code can register what is called a signal handler. These functions get called when the process receives a signal. You could do something like reload a config file for example, without the user needing to stop and restart the process.