Sign in to follow this  
MilindSP

Linux Application's dependency on system timer

Recommended Posts

MilindSP    100
[font=arial, verdana, tahoma, sans-serif][size=2]
Hey guys [/size][/font][font=arial, verdana, tahoma, sans-serif][size=2]

I have application in which I am waiting on semaphore and network event for certain amount of time .[/size][/font]

Application works smooth as long as nobody tampers the system time.

The moment system time is changed Application starts utilizing high CPU and becomes slow ..

I am using socket events and semaphores ..

Any clue on the same will help a lot Please let me know if further information required on same.

Thanks In advance..

Share this post


Link to post
Share on other sites
alvaro    21246
Can you produce a 20-line program that has the behavior you describe? It's hard to figure out what's going on without any code to look at or test.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this