Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us | -->
Your current position : Homepage > Free Software > Technological exchanges >Application Programming -->


    

Blue Forest http://www.lslnet.com at 2:08 p.m. on August 16, 2006

How the timer for a number of Linux ah?

With alarm () it can only make a timer? !



Re : Linux for a number of ways timer ah?

Concern. I also encountered the same problem.

Re : Linux for a number of ways timer ah?

Here is the version of the essence, you can find it

Re : Linux for a number of ways timer ah?

Find that the timer does not seem to see more concrete realization; (
I do not know if it was not found a lack of a keen eye.


Qt watched the arsenals, a number timer.
A timer on a per queue Lane
However, they do not know where the implementation of the Queue.
(Kernel to find that there is a soft interrupt trigger the implementation of the Queue
Think qt is the same method used in this case. But no one has found where the implementation of a)

Heroes who gets advice

Think of the four wrote that article, look carefully

Concomitant. . . .

Re : Linux for a number of ways timer ah?

I had thought of a way to simply say it is a timer, which is the time interval timer you want to increase the majors, but you can set a static variable count, if the variable added to a solution of a number of divisibility on the call that function, cite an example.

If you want to increase two timers, one every four seconds to FUNCA Calling, Call FUNCB one every six seconds, then you have an alarm every two seconds,
Plus one of the first count, then count two be Divisible, FUNCA Call it, if it could be deployed FUNCB Divisible 3, which can achieve more than a timer.
That approach, while flawed, it is able to meet the timer for 10 below. It is changes in the system for at least the fact that QT way, it is necessary to transfer a message passing mechanism X Windows.

Re : Linux for a number of ways timer ah?

Through multi-process, and then each process separately setitimer.
Man setitimer

Re : Linux for a number of ways timer ah?

Like, although only a resonator system, but as long as the proper setting, it can have its own frequency circuit through various frequency of the clock pulse, is it?

Re : Linux for a number of ways timer ah?

Is a simple, but seem to be as convenient Windows? !
For users, only telling system, "every time go do something" instead of the other tube. But using Linux to achieve SIGALAM timer, and many generations to come here and inconvenient?

Thank you!

Re : Linux for a number of ways timer ah?

The document timer.c radvd-0.72.tar.gz

May be useful to you, please refer to.

Re : Linux for a number of ways timer ah?

Thank you!



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com