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

Oct 17, 2003 1 Replies

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


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 (broeker@physik.rwth-aachen.de) Even if all the snow were burnt, ashes would remain.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required