Pulse notification

Updated: April 19, 2023

Suppose you're designing a server that spent most of its life receive-blocked, waiting for a message. Wouldn't it be ideal to receive a special message, one that told you that the time you had been waiting for finally arrived?

This scenario is exactly where you should use pulses as the notification scheme. In the “Using timers” section below, I'll show you some sample code that can be used to get periodic pulse messages.