Hi Kiruthika, For high-precision idle'ing refer to the nanosleep() and clock_nanosleep() functions. Use CLOCK_MONOTONIC to ensure correct operation around time-leaps (e.g. as caused by an ntp daemon)
For signals, use the signal interface as already indicated by the other people. Be aware that you cannot call all functions from within a signal handler. See man signal for a list. Regards, Stijn 2009/1/20 kirthika varadarajan <[email protected]>: > I am writing a simple application in which i need to generate an event for > every 5 min. > > I just created a thread inside the thread i need to create an event for > every 5 min. > > I refered to DM6467, there the timers are in kernel and i am not able to > link it in my application. > > Suggest me how to generate events for every 5 min . > > > Regards > Kiruthika > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
