Is there any similar API like windows's SetTimer() in Linux?

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hi!

In Windows API, there is a function settimer() which takes a callback
function as input argument. When the timer expires, the callback will
be called. But in Linux, I just found OS will send a event to the
process.

Is there any similar API like Window's SetTimer()?

BRs, // Charlie

Re: Is there any similar API like windows's SetTimer() in Linux?
Quoted text here. Click to load it


Which in turn will be caught by a registered signal handler --- so
where's the big difference you're worried about?

Or, to put it differently: which exact Linux API function are you even
talking about?
--
Hans-Bernhard Broeker ( snipped-for-privacy@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Site Timeline