Re: triggering an event every 5 minutes in C
From: David Schwartz (davids_at_webmaster.com)
Date: 03/15/05
- Next message: David Schwartz: "Re: Recv on a socket"
- Previous message: coardump: "Re: Recv on a socket"
- In reply to: Jon Zero: "triggering an event every 5 minutes in C"
- Next in thread: Pascal Bourguignon: "Re: triggering an event every 5 minutes in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 15 Mar 2005 13:27:01 -0800
"Jon Zero" <jzero@nospam.net> wrote in message
news:pan.2005.03.15.17.04.30.947909@nospam.net...
>I am trying to figure out what the best way to have my program do
> something (change the value of a variable) every x number of minutes. Can
> somebody give me a pointer in the right direction? I am writing in C in
> a linux environment.
It depends a lot upon the whole structure of the rest of your program.
For example, if it's multi-threaded, the answer is totally different. If
it's an event loop, the answer is totally different.
DS
- Next message: David Schwartz: "Re: Recv on a socket"
- Previous message: coardump: "Re: Recv on a socket"
- In reply to: Jon Zero: "triggering an event every 5 minutes in C"
- Next in thread: Pascal Bourguignon: "Re: triggering an event every 5 minutes in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|