Search the web
Sign In
New User? Sign Up
linuxtks · LINUX-DRDO:Group of Linux Lovers! R U?
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re :Re: Re :[linuxtks] Timer   Message List  
Reply | Forward Message #66 of 130 |
HI..
In the case of thread..
you can use the combination of MUTEX and CONDITION_VARIABLE.....
that allow to wait for the thread for a condition or time u specufy,
whichever fires earlier..............

regards
Trilok Saini


linuxtks@yahoogroups.com wrote

















Thanks Trilok,   Well ! these functions are  not fullfilling the requireemnt of my application. The application I am developing is a multithreaded application and requires switching between the threads (5 or more) and inside the threads msg queuse are there.   sleep is perhaps not a better solution to be used. can you suggest some high resolution timer which can be used for such purpose.   Regards   KiranTrilok Saini <t_saini1@...> wrote: Hi.. Yes it can give u the resolution of the order of 1 ms or better.. some system call are made for the order of mirco-senonds... Even I have used millisecond resolution... please check the system call like sleep, usleep, alarm and related man pages... Regards Trilok Sainilinuxtks@yahoogroups.com wroteHello Frnds,   I am seeking a help regarding High resolution timers in Linux. Since this OS is new for me, I would like to know can Redhat or PCQ Linux give more than 10ms accuracy.   if yes , How.??   Do help me with ur experience.     Regards Kiran Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your
fit.

Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.



















Mon Feb 26, 2007 1:45 pm

t_saini1@...
Send Email Send Email

Forward
Message #66 of 130 |
Expand Messages Author Sort by Date

HI..In the case of thread..you can use the combination of MUTEX and CONDITION_VARIABLE.....that allow to wait for the thread for a condition or&nbsp;time u...
Trilok Saini
t_saini1@...
Send Email
Feb 26, 2007
4:41 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help