RSSAmplifier

The Blog of Charles Daniels · Jun 23, 2020

SIGUSR1: An Under-Appreciated IPC Mechanism

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Polling sucks, but inter-process communication (IPC) is hard. Sometimes you have two programs that need to coordinate, and you just want a simple way for one to tell the other “hey, new information is ready, go look at it”. Here’s a trick I picked up from xidle(1) … I’m sure other programs have used it, but this is where I got the idea. You may be familiar with UNIX…

Read on /posts/sigusr/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.