this post was submitted on 15 Jan 2026
609 points (88.3% liked)
Programmer Humor
28473 readers
1388 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Long running headless processes on windows generally still have an event loop and a window handle via which they process those messages.
...right...tell that to cmd.exe or the OpenVPN daemon, or the soft ether VPN daemon, or OpenConsole.exe, or Idk, I only tested 4 that immediately came to mind but my point stands. There are a lot of programs that do not have a window handle and do not bother with window messages.
Service (daemon) lifecycles are managed via the system services api.
Yep, I'm aware of that too, doesn't change my initial point