Create a timer on Linux

Posted by Scott_Ruecker on Oct 13, 2021 12:21 AM EST; By Stephan Avenwedde
Mail this story
Print this story

The timing of certain events is a common task for a developer. Common scenarios for timers are watchdogs, cyclic execution of tasks, or scheduling events for a specific time. In this article, I show how to create a POSIX-compliant interval timer using timer_create(...). You can download the source code for the following examples from GitHub.

Full Story

» Read more about: Story Type: News Story; Groups: Developer, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.